diff options
author | Brad King <brad.king@kitware.com> | 2016-01-11 21:21:13 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-01-11 21:26:24 (GMT) |
commit | 4d05f195d9518eb5075f5b2a024f6c5874aab042 (patch) | |
tree | c7fcad0d168be84c66d3d83f9607f18ece233724 /Modules/FindwxWidgets.cmake | |
parent | cedbb7994dddce2c3fdf846bf4563c846adf4632 (diff) | |
download | CMake-4d05f195d9518eb5075f5b2a024f6c5874aab042.zip CMake-4d05f195d9518eb5075f5b2a024f6c5874aab042.tar.gz CMake-4d05f195d9518eb5075f5b2a024f6c5874aab042.tar.bz2 |
FindwxWidgets: Drop suppression of -isystem
This was added by commit v2.8.0~2292 (... Set variable
wxWidgets_INCLUDE_DIRS_NO_SYSTEM on the Mac ..., 2008-04-16) and updated
by commit v2.8.9~183^2 (FindwxWidgets: Do not use -isystem on OpenBSD,
2012-05-14). Since the underlying cause was never investigated fully we
do not know the conditions under which -isystem breaks wxWidgets, but
suppressing -isystem is problematic for users that do not want to see
warnings in wxWidgets headers. Simply drop the special case for now so
we can see whether anyone hits the problem again, at which point it can
be investigated in more detail.
Reported-by: Simon Wells <swel024@gmail.com>
Diffstat (limited to 'Modules/FindwxWidgets.cmake')
-rw-r--r-- | Modules/FindwxWidgets.cmake | 12 |
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. # |