MantisBT - CMake
View Issue Details
0013219CMakeCMakepublic2012-05-14 15:422012-10-01 13:22
Anthony J. Bentley 
Brad King 
highminoralways
closedfixed 
OpenBSD
CMake 2.8.7 
CMake 2.8.9CMake 2.8.9 
0013219: set wxWidgets_INCLUDE_DIRS_NO_SYSTEM on OpenBSD
From /usr/local/share/cmake/Modules/FindwxWidgets.cmake:

# 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:
# http://www.cmake.org/pipermail/cmake/2008-April/021115.html [^]
# http://www.cmake.org/pipermail/cmake/2008-April/021146.html [^]
#
IF(APPLE)
  SET(wxWidgets_INCLUDE_DIRS_NO_SYSTEM 1)
ENDIF(APPLE)

This problem also shows up on OpenBSD, so the attached patch adds it to the conditional.
See http://www.cmake.org/pipermail/cmake/2008-April/021146.html. [^]
No tags attached.
? patch-Modules_FindwxWidgets_cmake (655) 2012-05-14 15:42
https://public.kitware.com/Bug/file/4327/patch-Modules_FindwxWidgets_cmake
Issue History
2012-05-14 15:42Anthony J. BentleyNew Issue
2012-05-14 15:42Anthony J. BentleyFile Added: patch-Modules_FindwxWidgets_cmake
2012-05-14 16:05Brad KingNote Added: 0029470
2012-05-14 16:05Brad KingAssigned To => Brad King
2012-05-14 16:05Brad KingStatusnew => resolved
2012-05-14 16:05Brad KingResolutionopen => fixed
2012-05-14 16:05Brad KingFixed in Version => CMake 2.8.9
2012-05-14 16:05Brad KingTarget Version => CMake 2.8.9
2012-10-01 13:22David ColeNote Added: 0031128
2012-10-01 13:22David ColeStatusresolved => closed

Notes
(0029470)
Brad King   
2012-05-14 16:05   
Applied (with slight tweak to endif), thanks:

  http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=16ee1973 [^]
(0031128)
David Cole   
2012-10-01 13:22   
Closing resolved issues that have not been updated in more than 4 months.