From: Nathan Moinvaziri Date: Sat, 26 Mar 2022 15:47:01 +0000 (-0700) Subject: Use HAVE instead of HAS for variable name for consistency. X-Git-Tag: 2.0.7~69 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9c0d187dad06a1e06d885ffa80915d60ed37a6a0;p=thirdparty%2Fzlib-ng.git Use HAVE instead of HAS for variable name for consistency. --- diff --git a/cmake/detect-sanitizer.cmake b/cmake/detect-sanitizer.cmake index 30700082..8af1f8e0 100644 --- a/cmake/detect-sanitizer.cmake +++ b/cmake/detect-sanitizer.cmake @@ -16,12 +16,12 @@ macro(check_sanitizer_support known_checks supported_checks) set(CMAKE_REQUIRED_FLAGS "-fsanitize=${compile_checks}") - check_c_source_compiles("int main() { return 0; }" HAS_SANITIZER_${check} + check_c_source_compiles("int main() { return 0; }" HAVE_SANITIZER_${check} FAIL_REGEX "not supported|unrecognized command|unknown option") set(CMAKE_REQUIRED_FLAGS) - if(HAS_SANITIZER_${check}) + if(HAVE_SANITIZER_${check}) set(available_checks ${compile_checks}) endif() endforeach()