[CMake] OSX deployment target confusion for 2.8.10
Brad King
brad.king at kitware.com
Wed Nov 7 16:00:19 EST 2012
On 11/07/2012 03:41 PM, Matthew Brett wrote:
> I was probably thinking of the problem in the same way as you are,
> which is: how can I make sure that the build works or fails gracefully
> for someone else if they have the same problem?
I'm not interested in spending much time trying to make the build actually
work on such a broken setup. It only worked in CMake < 2.8.10 by an
accident, and wouldn't with universal binary builds.
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?
-Brad
More information about the CMake
mailing list