MAKE_OSX_SYSROOT /Developer/SDKs/android-sdk-mac_x86-1.5_r2

Yep, there is the problem. CMake looks in the /Developer/SDKs for all available SDKs and then greps for some information to try and figure out which one to use. Get rid of anything OTHER than official Apple SDKs that are in /Developer/SDKs/*, just consider that directory off limits to anything other than Apple stuff and you should be OK.

Mike


On Aug 30, 2009, at 11:26 PM, Celil Rufat wrote:


this person also has the problem <http://stackoverflow.com/questions/1349886/cmake-settings-on-snow-leopard >

Yup, that was also me :-)

Please post the following variables from your project after a first run of cmake on your project from a clean build directory.

 CMAKE_OSX_ARCHITECTURES
 CMAKE_OSX_SYSROOT


CMAKE_OSX_ARCHITECTURES  i386
CMAKE_OSX_SYSROOT /Developer/SDKs/android-sdk-mac_x86-1.5_r2

Hmm, the last variable is strange. I don't know why it is detecting my android installation as the system root. I will try to delete it, and test again.

Celil


_______________________________________________
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

Reply via email to