[CMake] [MacOSX] How to compile for certain SDK?

Steven Van Ingelgem steven at vaningelgem.be
Mon Jul 20 07:22:58 EDT 2009


Hi,


I checked and in Darwin.cmake there are several items like
"CMAKE_OSX_ARCHITECTURES_DEFAULT" and
"CMAKE_OSX_DEPLOYMENT_TARGET_DEFAULT"... But...
I can't set them properly in my own CMakeLists.txt file. As such, when I set
the minimum version to 10.4, it still will try to compile against v10.5 of
the SDK...

Is there a way to set all of this properly or do I need to fiddle with the
C/CXX make flags (bah)?


Thanks,
Steven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20090720/dfaa2600/attachment.htm>


More information about the CMake mailing list