[101420] trunk/dports/_resources/port1.0/group/cmake-1.0.tcl
jeremyhu at macports.org
jeremyhu at macports.org
Thu Jan 10 11:52:30 PST 2013
Revision: 101420
https://trac.macports.org/changeset/101420
Author: jeremyhu at macports.org
Date: 2013-01-10 11:52:30 -0800 (Thu, 10 Jan 2013)
Log Message:
-----------
cmake: Revert r101169 with added comment as to why it's needed
cmake: Revise the previous commit to just not set CMAKE_OSX_SYSROOT or CMAKE_OSX_DEPLOYMENT_TARGET in that case (#37527)
Revision Links:
--------------
https://trac.macports.org/changeset/101169
Modified Paths:
--------------
trunk/dports/_resources/port1.0/group/cmake-1.0.tcl
Modified: trunk/dports/_resources/port1.0/group/cmake-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/cmake-1.0.tcl 2013-01-10 19:52:15 UTC (rev 101419)
+++ trunk/dports/_resources/port1.0/group/cmake-1.0.tcl 2013-01-10 19:52:30 UTC (rev 101420)
@@ -73,6 +73,9 @@
}
if {${configure.sdkroot} != ""} {
configure.args-append -DCMAKE_OSX_SYSROOT="${configure.sdkroot}"
+ } else {
+ # Witout this, cmake will choose an SDK and deployment target on its own.
+ configure.args-append -DCMAKE_OSX_SYSROOT=/ -DCMAKE_OSX_DEPLOYMENT_TARGET=""
}
}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130110/33056048/attachment.html>
More information about the macports-changes
mailing list