summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcomex <comexk@gmail.com>2015-06-21 13:29:04 -0400
committercomex <comexk@gmail.com>2015-06-21 13:29:04 -0400
commitd180e4469ee200494b4c78b448c1984dfdfbecff (patch)
tree77f200c093fa4d8b91348d60d7d966878542cf9c
parent3948dc77c73136d7a828c161d2fc4f9c9b180760 (diff)
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.
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8f1ad0fb67..a8fc1f0ae7 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -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)