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:
comex 2015-06-21 13:29:04 -04:00
parent 3948dc77c7
commit d180e4469e
1 changed files with 1 additions and 1 deletions

View File

@ -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)