diff --git a/CMakeLists.txt b/CMakeLists.txt index a8893f3a..9bfc9508 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -80,7 +80,7 @@ if (MSVC) /WX) endif() - if (CMAKE_VS_PLATFORM_TOOLSET MATCHES "LLVM-vs[0-9]+") + if (${CMAKE_CXX_COMPILER_ID} STREQUAL "Clang") list(APPEND DYNARMIC_CXX_FLAGS -Qunused-arguments -Wno-missing-braces)