Commit 027ebfdb by Loo Rong Jie

Use ABSL_RUN_TESTS instead of BUILD_TESTING

parent fcc476cc
...@@ -121,7 +121,7 @@ function(absl_cc_library) ...@@ -121,7 +121,7 @@ function(absl_cc_library)
${ARGN} ${ARGN}
) )
if (NOT ABSL_CC_LIB_TESTONLY OR BUILD_TESTING) if (NOT ABSL_CC_LIB_TESTONLY OR ABSL_RUN_TESTS)
set(_NAME "absl_${ABSL_CC_LIB_NAME}") set(_NAME "absl_${ABSL_CC_LIB_NAME}")
string(TOUPPER ${_NAME} _UPPER_NAME) string(TOUPPER ${_NAME} _UPPER_NAME)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment