Re: [cmake-developers] Change type of CMAKE_OSX_SYSROOT to STRING instead of PATH

2011-05-27 Thread Johan Björk
uh, sorry about the noise, you are right, the patch is completely bogus. I wonder where it converts it to a path, will have to look into a bit more. thanks /Johan On Fri, May 27, 2011 at 12:17 PM, David Cole wrote: > This patch can't quite be right. > > After this patch, the value of CMAKE_OSX

Re: [cmake-developers] Change type of CMAKE_OSX_SYSROOT to STRING instead of PATH

2011-05-27 Thread David Cole
This patch can't quite be right. After this patch, the value of CMAKE_OSX_SYSROOT will be: "macosx10.5;STRING;PATH;The product will be built agai..." You meant to change the "PATH" to a "STRING" I think -- but even so, this change should have no actual effect on the behavior of CMake. The type of

[cmake-developers] Change type of CMAKE_OSX_SYSROOT to STRING instead of PATH

2011-05-27 Thread Johan Björk
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. Witho