]> code.ossystems Code Review - openembedded-core.git/commit
cmake: also set CMAKE_FIND_ROOT_PATH_MODE_PACKAGE
authorRoss Burton <ross.burton@intel.com>
Mon, 10 Oct 2016 11:41:34 +0000 (12:41 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 15 Oct 2016 08:49:22 +0000 (09:49 +0100)
commit2df2372a31b02eab933e4a7aa6d5f8ca48e02c04
tree2d721bf935c094a7ea4a41e0f861d9ce8bac7ec3
parente67637e4472ff3a1e2801b84ee3d69d4e14b9efc
cmake: also set CMAKE_FIND_ROOT_PATH_MODE_PACKAGE

The other CMAKE_FIND_ROOT_PATH_MODE_* variables were already set to ONLY, but
PACKAGE was left out.  Fix this so that cmake doesn't look on the host for cmake
modules when it should only be looking in the target sysroot.

Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-devtools/cmake/cmake/OEToolchainConfig.cmake