Use absl_ prefix for public target

This commit is contained in:
Loo Rong Jie 2018-10-10 23:15:55 +08:00
parent a76ceed6f6
commit fc2185a7f4

View file

@ -122,7 +122,11 @@ function(absl_cc_library)
)
if (NOT ABSL_CC_LIB_TESTONLY OR ABSL_RUN_TESTS)
if (ABSL_CC_LIB_PUBLIC)
set(_NAME "absl_${ABSL_CC_LIB_NAME}")
else()
set(_NAME "absl_internal_${ABSL_CC_LIB_NAME}")
endif()
# Check if this is a header-only library
if (ABSL_CC_LIB_SRCS)