]> granicus.if.org Git - libexpat/commitdiff
CMake: Be more helpful with regard to CMAKE_C_COMPILER_ID
authorSebastian Pipping <sebastian@pipping.org>
Wed, 28 Aug 2019 22:58:26 +0000 (00:58 +0200)
committerSebastian Pipping <sebastian@pipping.org>
Wed, 28 Aug 2019 22:58:26 +0000 (00:58 +0200)
expat/CMakeLists.txt

index 24667e6ff7b1b2b41a7dab745a5f92ed7bc80def..0a19d50b22bbc7cc887416d5b9cfe2046feb49b6 100644 (file)
@@ -328,8 +328,8 @@ endif(BUILD_tests)
 if(BUILD_fuzzers)
     if(NOT "${CMAKE_C_COMPILER_ID}" STREQUAL "Clang")
         message(SEND_ERROR
-            "Building fuzz targets without clang is not supported. Please set "
-            "-DCMAKE_C_COMPILER=clang.")
+            "Building fuzz targets without Clang (but ${CMAKE_C_COMPILER_ID}) "
+            "is not supported. Please set -DCMAKE_C_COMPILER=clang.")
     endif()
 
     string(FIND "${CMAKE_EXE_LINKER_FLAGS}" "-fsanitize" sanitizer_present)