diff --git a/build/cmake/init.cmake b/build/cmake/init.cmake index 3e6fcd06a3..5a06922cca 100644 --- a/build/cmake/init.cmake +++ b/build/cmake/init.cmake @@ -41,7 +41,7 @@ if(MSVC) wx_string_append(CMAKE_C_FLAGS " /MP") wx_string_append(CMAKE_CXX_FLAGS " /MP") endif() -elseif(("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU") OR ("${CMAKE_CXX_COMPILER_ID}" MATCH "*Clang")) +elseif(("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU") OR ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")) if(wxBUILD_USE_STATIC_RUNTIME) if(MINGW) set(STATIC_LINKER_FLAGS " -static -Wl,--allow-multiple-definition")