diff options
author | Loo Rong Jie <loorongjie@gmail.com> | 2018-08-24T02·11+0800 |
---|---|---|
committer | Loo Rong Jie <loorongjie@gmail.com> | 2018-10-09T15·33+0800 |
commit | 1ecb60be3901a3e582ed202dd04f083de9f6f20c (patch) | |
tree | aae3845e941a6f347788daad8535c264797bbca2 /CMake | |
parent | f1c17a303a07eeddf83bb68accaf342939b1431a (diff) |
Set default prefix to absl_internal_
Diffstat (limited to 'CMake')
-rw-r--r-- | CMake/AbseilHelpers.cmake | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/CMake/AbseilHelpers.cmake b/CMake/AbseilHelpers.cmake index 0b7b0b8d5986..d4f662b4463b 100644 --- a/CMake/AbseilHelpers.cmake +++ b/CMake/AbseilHelpers.cmake @@ -78,8 +78,8 @@ endfunction() # # Note: # -# By default, absl_cc_library will always create a library named absl_${NAME}, -# which means other targets can only depend this library as absl_${NAME}, not ${NAME}. +# By default, absl_cc_library will always create a library named absl_internal_${NAME}, +# which means other targets can only depend this library as absl_internal_${NAME}, not ${NAME}. # This is to reduce namespace pollution. # # absl_cc_library( @@ -96,11 +96,11 @@ endfunction() # SRCS # "b.cc" # DEPS -# absl_awesome_lib # not "awesome_lib"! +# absl_internal_awesome_lib # not "awesome_lib"! # ) # # If VISIBILITY_PUBLIC is set, absl_cc_library will also create an alias absl::${NAME} -# for public use. +# for public use in addition to absl_internal_${NAME}. # # absl_cc_library( # NAME @@ -122,7 +122,7 @@ function(absl_cc_library) ) if (NOT ABSL_CC_LIB_TESTONLY OR ABSL_RUN_TESTS) - set(_NAME "absl_${ABSL_CC_LIB_NAME}") + set(_NAME "absl_internal_${ABSL_CC_LIB_NAME}") string(TOUPPER ${_NAME} _UPPER_NAME) # Check if this is a header-only library |