diff options
-rw-r--r-- | CMake/AbseilHelpers.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMake/AbseilHelpers.cmake b/CMake/AbseilHelpers.cmake index e9fc2a3a00e1..0b7b0b8d5986 100644 --- a/CMake/AbseilHelpers.cmake +++ b/CMake/AbseilHelpers.cmake @@ -121,7 +121,7 @@ function(absl_cc_library) ${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}") string(TOUPPER ${_NAME} _UPPER_NAME) |