[CMake] CMake and OSX 10.5

Ted Berg tberg at vivox.com
Wed Jan 23 14:36:55 EST 2008


Ted Berg wrote:
> Ted Berg wrote:
>> Am in the process of setting up a OSX 10.5 build box and I'm seeing a 
>> couple of issues:
>>
>> 1. link command line is getting -F/System/Library/Frameworks added 
>> automatically, which causes problems when I try to build against the 
>> 10.4u sdk.  This issue is present in the 2.4.7 and the 
>> cmake-2.4.8.tar.gz release candidate.  This issue appears to be fixed 
>> in cvs.
>>
>> 2. When I don't run into issue #1 and am building against the 10.4u 
>> SDK I get the following linker error:
>>
>> ld: library not found for -ldylib1.10.5.o
>> collet2: ld returned 1 exit status

Fix for #2:
export MACOSX_DEPLOYMENT_TARGET=10.4

It seems that you have to do more than just set the sysroot to choose a 
target SDK.

Ted


More information about the CMake mailing list