Disable warnings for wx headers
...by telling CMake to use -isystem for the static wx include directory. AFAICT, this is already done by CMake's FindwxWidgets script in the shared case.
This commit is contained in:
parent
3948dc77c7
commit
d180e4469e
|
@ -781,7 +781,7 @@ if(NOT DISABLE_WX AND NOT ANDROID)
|
|||
message(FATAL_ERROR "wxWidgets in Externals is not compatible with your platform")
|
||||
endif()
|
||||
|
||||
include_directories(
|
||||
include_directories(SYSTEM
|
||||
Externals/wxWidgets3
|
||||
Externals/wxWidgets3/include)
|
||||
add_subdirectory(Externals/wxWidgets3)
|
||||
|
|
Loading…
Reference in New Issue