CMake: MATCH -> STREQUAL for clang
This commit is contained in:
parent
4742c32c75
commit
fbac773fed
@ -41,7 +41,7 @@ if(MSVC)
|
|||||||
wx_string_append(CMAKE_C_FLAGS " /MP")
|
wx_string_append(CMAKE_C_FLAGS " /MP")
|
||||||
wx_string_append(CMAKE_CXX_FLAGS " /MP")
|
wx_string_append(CMAKE_CXX_FLAGS " /MP")
|
||||||
endif()
|
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(wxBUILD_USE_STATIC_RUNTIME)
|
||||||
if(MINGW)
|
if(MINGW)
|
||||||
set(STATIC_LINKER_FLAGS " -static -Wl,--allow-multiple-definition")
|
set(STATIC_LINKER_FLAGS " -static -Wl,--allow-multiple-definition")
|
||||||
|
Loading…
Reference in New Issue
Block a user