summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2012-05-17 18:59:28 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2012-05-17 18:59:28 (GMT)
commit3e595b9ee597cde73c001bfa2947eef619fdaa95 (patch)
treeaebc6e8d114d86794df803ec6267ca1600c039ef
parent0c03cbabc4a5627eebc1d519e36f974a514c9d9c (diff)
parent16ee19731e13abcd7d36d18822f61b7679322631 (diff)
downloadCMake-3e595b9ee597cde73c001bfa2947eef619fdaa95.zip
CMake-3e595b9ee597cde73c001bfa2947eef619fdaa95.tar.gz
CMake-3e595b9ee597cde73c001bfa2947eef619fdaa95.tar.bz2
Merge topic 'FindwxWidgets-OpenBSD'
16ee197 FindwxWidgets: Do not use -isystem on OpenBSD (#13219)
-rw-r--r--Modules/FindwxWidgets.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/FindwxWidgets.cmake b/Modules/FindwxWidgets.cmake
index 0bc6172..865a6c5 100644
--- a/Modules/FindwxWidgets.cmake
+++ b/Modules/FindwxWidgets.cmake
@@ -167,9 +167,9 @@ SET(wxWidgets_CXX_FLAGS "")
# http://www.cmake.org/pipermail/cmake/2008-April/021115.html
# http://www.cmake.org/pipermail/cmake/2008-April/021146.html
#
-IF(APPLE)
+IF(APPLE OR CMAKE_CXX_PLATFORM_ID MATCHES "OpenBSD")
SET(wxWidgets_INCLUDE_DIRS_NO_SYSTEM 1)
-ENDIF(APPLE)
+ENDIF()
# DEPRECATED: This is a patch to support the DEPRECATED use of
# wxWidgets_USE_LIBS.