[cmake-developers] [PATCH] FindPythonLibs patches for version searching and frameworks

Brad King brad.king at kitware.com
Thu Sep 17 12:54:26 EDT 2015


On 09/17/2015 12:42 PM, David Gobbi wrote:
> Okay, Clinton.  Now you've made me paranoid that I should be prepending
> the value of CMAKE_OSX_SYSROOT before the prefix if it isn't already
> part of the prefix.  I don't want to ignore CMAKE_OSX_SYSROOT if it has
> been set, but unfortunately I don't know all the details of how find_library
> uses CMAKE_OSX_SYSROOT internally.

Individual find modules and find_ calls should not have to worry
about that.  See Modules/Platform/Darwin.cmake for use of the
CMAKE_OSX_SYSROOT to set CMAKE_SYSTEM_PREFIX_PATH.

-Brad



More information about the cmake-developers mailing list