CMake: CMAKE_COMPILER_IS_GNUCC has been replaced

This commit is contained in:
pk 2019-07-11 12:01:38 +03:00
parent e0ad857a2d
commit b93fce30f3

View File

@ -41,7 +41,7 @@ if(MSVC)
wx_string_append(CMAKE_C_FLAGS " /MP")
wx_string_append(CMAKE_CXX_FLAGS " /MP")
endif()
elseif(CMAKE_COMPILER_IS_GNUCC)
elseif("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
if(wxBUILD_USE_STATIC_RUNTIME)
if(MINGW)
set(STATIC_LINKER_FLAGS " -static -Wl,--allow-multiple-definition")