[CMake] [cmake-developers] Debugging find_package() search behavior?
Brad King
brad.king at kitware.com
Tue Aug 29 10:56:34 EDT 2017
On 08/29/2017 10:55 AM, Brad King wrote:
> On 08/29/2017 10:48 AM, Robert Dailey wrote:
>> CMAKE_PREFIX_PATH: E:/code/frontend/msvc_2015/third_party/installed
>> CMAKE_FIND_ROOT_PATH: E:/code/frontend/msvc_2015/third_party/installed
>
> I'm not sure how CMAKE_FIND_ROOT_PATH's path re-rooting interacts with
> drive letters on Windows.
Oops, sent too soon.
CMAKE_FIND_ROOT_PATH should not be necessary here. It's for cross-compiling
to re-root paths like `/usr` into some prefix on the host.
-Brad
More information about the CMake
mailing list