diff --git a/g2log/CMakeLists.txt b/g2log/CMakeLists.txt index 37d0aa4..3ac28c6 100644 --- a/g2log/CMakeLists.txt +++ b/g2log/CMakeLists.txt @@ -77,7 +77,7 @@ endif() # description # 1) http://kjellkod.wordpress.com/2013/09/23/experimental-g2log-with-clang/ # 2) https://github.com/maidsafe/MaidSafe/wiki/Hacking-with-Clang-llvm-abi-and-llvm-libc -IF ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang") +IF ("${CMAKE_CXX_COMPILER_ID}" MATCHES ".*Clang") MESSAGE("") MESSAGE("cmake for Clang ") if (APPLE)