[cmake-developers] [CMake 0015040]: CMake needs to support building against "/" on OS X with a deployment target set
Mantis Bug Tracker
mantis at public.kitware.com
Sun Jul 27 04:29:40 EDT 2014
The following issue has been SUBMITTED.
======================================================================
http://www.cmake.org/Bug/view.php?id=15040
======================================================================
Reported By: Mojca Miklavec
Assigned To:
======================================================================
Project: CMake
Issue ID: 15040
Category: CMake
Reproducibility: always
Severity: minor
Priority: normal
Status: new
======================================================================
Date Submitted: 2014-07-27 04:29 EDT
Last Modified: 2014-07-27 04:29 EDT
======================================================================
Summary: 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.
======================================================================
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
======================================================================
More information about the cmake-developers
mailing list