Hi guys,

Attached patch that changes the type of the CMAKE_OSX_SYSROOT
variable. All versions of XCode accept in addition to the full path to
the SDK, also a symbolic name, ie 'macosx10.5' or similar. To make
things worse, some versions of XCode 4 doesn't seem to like the full
paths at all.

Without this patch, it already works fine, until you try to use
TRY_COMPILE() or the like, where your symbolic name will be converted
to a full path.
'/Users/phb/DEV/.../build/CMakeFiles/CMakeTmp/CMakeFiles/CMakeTmp/macosx10.5'

Should be a trivial fix, there should be no reason where we want
automatic path expansion on that value.

Thanks
/Johan

Attachment: 0001-Darwin-Change-type-of-CMAKE_OSX_SYSROOT-to-be-a-STRI.patch
Description: Binary data

_______________________________________________
cmake-developers mailing list
[email protected]
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to