summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-01-12 15:23:10 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2016-01-12 15:23:10 (GMT)
commit3e4da6144723450a287a78690d1f9e348c85a4e7 (patch)
tree9d98cb19514921f1f53f35f8a46e1076252fe60d
parent03554210357b8378ac907ee24cd39c699080be50 (diff)
parent4d05f195d9518eb5075f5b2a024f6c5874aab042 (diff)
downloadCMake-3e4da6144723450a287a78690d1f9e348c85a4e7.zip
CMake-3e4da6144723450a287a78690d1f9e348c85a4e7.tar.gz
CMake-3e4da6144723450a287a78690d1f9e348c85a4e7.tar.bz2
Merge topic 'FindwxWidgets-use-isystem'
4d05f195 FindwxWidgets: Drop suppression of -isystem
-rw-r--r--Modules/FindwxWidgets.cmake12
1 files changed, 0 insertions, 12 deletions
diff --git a/Modules/FindwxWidgets.cmake b/Modules/FindwxWidgets.cmake
index 9037594..49ce57e 100644
--- a/Modules/FindwxWidgets.cmake
+++ b/Modules/FindwxWidgets.cmake
@@ -188,18 +188,6 @@ set(wxWidgets_LIBRARIES "")
set(wxWidgets_LIBRARY_DIRS "")
set(wxWidgets_CXX_FLAGS "")
-# Using SYSTEM with INCLUDE_DIRECTORIES in conjunction with wxWidgets on
-# the Mac produces compiler errors. Set wxWidgets_INCLUDE_DIRS_NO_SYSTEM
-# to prevent UsewxWidgets.cmake from using SYSTEM.
-#
-# See cmake mailing list discussions for more info:
-# https://cmake.org/pipermail/cmake/2008-April/021115.html
-# https://cmake.org/pipermail/cmake/2008-April/021146.html
-#
-if(APPLE OR CMAKE_CXX_PLATFORM_ID MATCHES "OpenBSD")
- set(wxWidgets_INCLUDE_DIRS_NO_SYSTEM 1)
-endif()
-
# DEPRECATED: This is a patch to support the DEPRECATED use of
# wxWidgets_USE_LIBS.
#