Test: Only ignore warning on LLVM clang
@@ -4,7 +4,7 @@ include_directories (${CMAKE_CURRENT_SOURCE_DIR})
add_headers (HDR_FILES)
add_cppheaders (HDR_FILES)
-set (CLANG_7_OR_LATER ${CMAKE_CXX_COMPILER_ID} MATCHES "Clang" AND NOT (${CMAKE_CXX_COMPILER_VERSION} VERSION_LESS 7))
+set (CLANG_7_OR_LATER ${CMAKE_CXX_COMPILER_ID} STREQUAL "Clang" AND NOT (${CMAKE_CXX_COMPILER_VERSION} VERSION_LESS 7))
set (TESTCPP_CONTEXTUAL_BASIC_PROPERTIES "-Wno-gnu-zero-variadic-macro-arguments")
if (${CLANG_7_OR_LATER})
