MantisBT - CMake | ||||||||||
View Issue Details | ||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||
0004342 | CMake | CMake | public | 2007-01-21 02:23 | 2009-02-24 15:39 | |||||
Reporter | Joseph | |||||||||
Assigned To | Brad King | |||||||||
Priority | low | Severity | major | Reproducibility | always | |||||
Status | closed | Resolution | fixed | |||||||
Platform | OS | OS Version | ||||||||
Product Version | ||||||||||
Target Version | Fixed in Version | |||||||||
Summary | 0004342: CMAKE_OSX_SYSROOT and /usr/local/include | |||||||||
Description | In Darwin.cmake, CMAKE_PLATFORM_IMPLICIT_INCLUDE_DIRECTORIES is set to /usr/local/include, which makes INCLUDE_DIRECTORIES("/usr/local/include") a no-op. The problem is that "/usr/local/include" is only searched if CMAKE_OSX_SYSROOT is not set. If it's set (it's set by default), the compiler searches "${CMAKE_OSX_SYSROOT}/usr/local/include", instead of "/usr/local/include". I suggest not setting CMAKE_PLATFORM_IMPLICIT_INCLUDE_DIRECTORIES on Darwin at all. | |||||||||
Steps To Reproduce | ||||||||||
Additional Information | ||||||||||
Tags | No tags attached. | |||||||||
Relationships |
| |||||||||
Attached Files | ||||||||||
Issue History | ||||||||||
Date Modified | Username | Field | Change | |||||||
2009-02-24 15:23 | Brad King | Relationship added | child of 0008598 | |||||||
2009-02-24 15:25 | Brad King | Assigned To | Bill Hoffman => Brad King | |||||||
2009-02-24 15:39 | Brad King | Note Added: 0015340 | ||||||||
2009-02-24 15:39 | Brad King | Status | assigned => closed | |||||||
2009-02-24 15:39 | Brad King | Resolution | open => fixed |
Notes | |||||
|
|||||
|
|