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
--

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