diff options
Diffstat (limited to 'CMake/AbseilHelpers.cmake')
-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 e9fc2a3a..0b7b0b8d 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) |