View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
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. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | patch-Modules-Platform-Darwin.cmake.diff [^] (595 bytes) 2014-07-27 04:29 [Show Content] | ||||||||
Relationships | |
Relationships |
Notes | |
(0036468) Brad King (manager) 2014-07-28 10:04 |
Applied, thanks: OS X: Allow deployment target with "/" sysroot http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=5b4faeef [^] |
(0037593) Robert Maynard (manager) 2015-01-05 08:39 |
Closing resolved issues that have not been updated in more than 4 months |
Notes |
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 |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |