]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
Use HAVE instead of HAS for variable name for consistency.
authorNathan Moinvaziri <nathan@nathanm.com>
Sat, 26 Mar 2022 15:47:01 +0000 (08:47 -0700)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Mon, 28 Mar 2022 09:08:25 +0000 (11:08 +0200)
cmake/detect-sanitizer.cmake

index ae3d37317c80d6bcac87a3201792331bd9ea2c5f..f9521ec2f541005ce0883678eecf546f93cfdc19 100644 (file)
@@ -32,12 +32,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()