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

-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers

Reply via email to