--On January 6, 2013 7:48:05 AM +1100 Joshua Root <[email protected]>
wrote:
On 2013-1-6 06:41 , Jeremy Huddleston Sequoia wrote:
On Jan 5, 2013, at 12:27 AM, Joshua Root <[email protected]> wrote:
Does setting MACOSX_DEPLOYMENT_TARGET always cause cmake to want to
use an SDK,
I should hope not. That would be a bad bug in cmake.
Going by the commit message in
patch-Modules-Platform-Darwin.cmake.diff, it looks like that is in
fact the case.
Just FYI, here is the change I made to solve the problem. I'm not
saying it's necessarily better, but it seems reasonable. I looked at
the changes to /opt/local/share/cmake-2.8/Modules/Platform/Darwin.cmake
and this change seemed reasonable given what changed.
Mike
Index: cmake-1.0.tcl
===================================================================
--- cmake-1.0.tcl (revision 101080)
+++ cmake-1.0.tcl (working copy)
@@ -74,7 +74,7 @@
if {${configure.sdkroot} != ""} {
configure.args-append
-DCMAKE_OSX_SYSROOT="${configure.sdkroot}"
} else {
- configure.args-append -DCMAKE_OSX_SYSROOT=/
+ configure.args-append -UCMAKE_OSX_SYSROOT
}
}
}
_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo/macports-dev