[CMake] CMake and OS X compiler tools without SDK

Brad King brad.king at kitware.com
Fri Sep 21 14:52:55 EDT 2012


On 09/21/2012 12:36 PM, David Gobbi wrote:
> Thanks, I just did a build of VTK under XCode 4.5 with cmake-next and
> it no longer sets the CMAKE_OSX_SYSROOT to a non-existent
> /Developer/SDKs/MacOSX10.7.sdk.  And with my old XCode 3.2 system,
> it _does_ find and use the existing MacOSX10.6.sdk.  It also builds fine
> under XCode 3.2 if I clear CMAKE_OSX_SYSROOT (in the former case,
> -isysroot appears on the command line, in the latter case it does not).

Thanks for testing.  FYI, I made a few more improvements:

 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=1786b121
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=7995722e
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=26907384
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=43b74793

-Brad


More information about the CMake mailing list