On Sep 20, 2012, at 4:26 PM, David Gobbi wrote: > Hi All, > > Just yesterday, Apple released new "Command Line Tools for XCode 4.5". > Unlike their previous command-line compiler tools, these new tools no > longer require XCode. They are stand-alone. This is great, because > the package is just 110MB (compared to 1560MB for XCode). > > However, there is a caveat. CMake is looking for (and not finding) an > XCode SDK. > > When I configure VTK, for example, cmake sets this: > > CMAKE_OSX_SYSROOT:PATH=/Developer/SDKs/MacOSX10.7.sdk > > But in order for my compile to succeed, I have to change it to this: > > CMAKE_OSX_SYSROOT:PATH=/ > > So I'm wondering if CMake should start using "/" as the default > setting, or perhaps not use -isysroot at all unless an SDK has been > explicitly selected. > > - David > --
CMake should probably actually look to verify that path does exist, then fallback to something else most likely dependent on the version of OS X being used? This could get ugly quickly. ___________________________________________________________ Mike Jackson Principal Software Engineer BlueQuartz Software Dayton, Ohio [email protected] www.bluequartz.net -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
