diff options
author | Guillaume Papin <guillaume.papin@parrot.com> | 2014-10-23 07:10:54 (GMT) |
---|---|---|
committer | Chuck Atkins <chuck.atkins@kitware.com> | 2014-10-26 04:03:39 (GMT) |
commit | 43b8bfb213188b1017949b5c29f3071e455121e3 (patch) | |
tree | 65760aa275a921e5578e802c539605a5df505ace /Modules/CMakeTestRCCompiler.cmake | |
parent | 97eb511672a8d5804f98942791c7bad9ac73e6df (diff) | |
download | CMake-43b8bfb213188b1017949b5c29f3071e455121e3.zip CMake-43b8bfb213188b1017949b5c29f3071e455121e3.tar.gz CMake-43b8bfb213188b1017949b5c29f3071e455121e3.tar.bz2 |
FindBoost: fix find_library call when using "re-rooting"
When using CMAKE_FIND_ROOT_PATH, FindBoost is able to find the first
component and cache the full path of the directory in Boost_LIBRARY_DIR
so that all components are looked for in same directory. The issue was
that, when looking for the other components, Boost_LIBRARY_DIR was
re-rooted against CMAKE_FIND_ROOT_PATH even though it was already a path
on the host. This change fixes this by disabling the re-rooting in the
find_library call when using Boost_LIBRARY_DIR as a hint.
See http://www.cmake.org/pipermail/cmake-developers/2014-October/011670.html
Diffstat (limited to 'Modules/CMakeTestRCCompiler.cmake')
0 files changed, 0 insertions, 0 deletions