MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0015040 | CMake | CMake | public | 2014-07-27 04:29 | 2015-01-05 08:39 |
Reporter | Mojca Miklavec | ||||
Assigned To | Brad King | ||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | Apple Mac | OS | OS X | OS Version | |
Product Version | CMake 3.0 | ||||
Target Version | CMake 3.1 | Fixed in Version | CMake 3.1 | ||
Summary | 0015040: CMake needs to support building against "/" on OS X with a deployment target set | ||||
Description | CMake doesn't allow setting -DCMAKE_OSX_DEPLOYMENT_TARGET="10.8" together with -DCMAKE_OSX_SYSROOT="/". According to an Apple engineer that's a problem/flaw. See also the whole discussion at https://trac.macports.org/ticket/44125 [^] (If you are able to CC others, please add 'jeremyhu' at macports . org to this ticket.) I'm attaching his patch that is currently being used in MacPorts: https://trac.macports.org/browser/trunk/dports/devel/cmake/files/patch-Modules-Platform-Darwin.cmake.diff?rev=122338 [^] | ||||
Steps To Reproduce | Run cmake -DCMAKE_OSX_DEPLOYMENT_TARGET="10.8" -DCMAKE_OSX_SYSROOT="/" ... on any CMake-based project. The build always fails, complaining that CMAKE_OSX_SYSROOT should also be set. | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | patch-Modules-Platform-Darwin.cmake.diff (595) 2014-07-27 04:29 https://public.kitware.com/Bug/file/5200/patch-Modules-Platform-Darwin.cmake.diff | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2014-07-27 04:29 | Mojca Miklavec | New Issue | |||
2014-07-27 04:29 | Mojca Miklavec | File Added: patch-Modules-Platform-Darwin.cmake.diff | |||
2014-07-28 10:04 | Brad King | Note Added: 0036468 | |||
2014-07-28 10:04 | Brad King | Assigned To | => Brad King | ||
2014-07-28 10:04 | Brad King | Status | new => resolved | ||
2014-07-28 10:04 | Brad King | Resolution | open => fixed | ||
2014-07-28 10:04 | Brad King | Fixed in Version | => CMake 3.1 | ||
2014-07-28 10:04 | Brad King | Target Version | => CMake 3.1 | ||
2015-01-05 08:39 | Robert Maynard | Note Added: 0037593 | |||
2015-01-05 08:39 | Robert Maynard | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|