[CMake] OSX deployment target confusion for 2.8.10

Brad King brad.king at kitware.com
Thu Nov 8 09:26:49 EST 2012


On 11/07/2012 04:13 PM, Matthew Brett wrote:
>> We can warn about it though.  Try adding something like this to the end
>> of CMake's Modules/Platform/Darwin.cmake:
>>
>> if(IS_DIRECTORY "${CMAKE_OSX_SYSROOT}/Library/Frameworks" AND
>>    IS_SYMLINK "${CMAKE_OSX_SYSROOT}/Library/Frameworks/Frameworks")
>>   message(WARNING "The SDK Library/Frameworks path
>>  ${CMAKE_OSX_SYSROOT}/Library/Frameworks
>> has not been configured correctly on this system.  See
>>  http://bugs.python.org/issue14018
>> and consider fixing your symlinks locally.")
>> endif()
>>
>> Does it print the warning on your system?
> 
> Great - yes - lots of informative warnings in the initial cmake phase.

Thanks for testing.  I've committed a more elaborate version of it:

 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=720d790f

Please test that change too for final verification.

Thanks,
-Brad


More information about the CMake mailing list