On Fri, 26 Mar 2010 14:38:54 -0400, Simmons, Aaron said:

>While it will compile, the resulting binary needs to be compatible with 10.4.

It is a common misconception that one needs to use the 10.4 SDK to
create an executable that is compatible with 10.4.  This is not so.

What you want to do is set CMAKE_OSX_DEPLOYMENT_TARGET to 10.4.  Don't
set CMAKE_OSX_SYSROOT at all.  Also, if you're deploying to 10.4, I
believe you need to use gcc 4.0, not newer.  You'll also want to set
CMAKE_OSX_ARCHITECTURES as desired. 

-- 
____________________________________________________________
Sean McBride, B. Eng                 s...@rogue-research.com
Rogue Research                        www.rogue-research.com 
Mac Software Developer              Montréal, Québec, Canada


_______________________________________________
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