[cmake-developers] [CMake 0013219]: set wxWidgets_INCLUDE_DIRS_NO_SYSTEM on OpenBSD

Mantis Bug Tracker mantis at public.kitware.com
Mon May 14 15:42:15 EDT 2012


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=13219 
====================================================================== 
Reported By:                Anthony J. Bentley
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   13219
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   high
Status:                     new
====================================================================== 
Date Submitted:             2012-05-14 15:42 EDT
Last Modified:              2012-05-14 15:42 EDT
====================================================================== 
Summary:                    set wxWidgets_INCLUDE_DIRS_NO_SYSTEM on OpenBSD
Description: 
>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. 

Steps to Reproduce: 
See http://www.cmake.org/pipermail/cmake/2008-April/021146.html.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-05-14 15:42 Anthony J. BentleyNew Issue                                    
2012-05-14 15:42 Anthony J. BentleyFile Added: patch-Modules_FindwxWidgets_cmake
                   
======================================================================




More information about the cmake-developers mailing list