diff options
author | Stefan Herbrechtsmeier <stefan@herbrechtsmeier.net> | 2013-08-14 10:47:44 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-08-16 11:14:33 +0100 |
commit | 8db18b60572acec2f6a9942a669f32b38cfd95e0 (patch) | |
tree | a7d90085f8635437924ee13f5a6ea71b0665c537 | |
parent | 9f9cc59eef1e91f8d8818581cf227a6742563820 (diff) | |
download | poky-8db18b60572acec2f6a9942a669f32b38cfd95e0.tar.gz |
cmake.bbclass: Don't use packages from the native build machine
(From OE-Core rev: 044037d8add3556a90ac4da5991e1e5975d62e25)
Signed-off-by: Stefan Herbrechtsmeier <stefan@herbrechtsmeier.net>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/cmake.bbclass | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/cmake.bbclass b/meta/classes/cmake.bbclass index 310242ec27..8e579a7f9e 100644 --- a/meta/classes/cmake.bbclass +++ b/meta/classes/cmake.bbclass | |||
@@ -49,6 +49,7 @@ set( CMAKE_CXX_LINK_FLAGS "${OECMAKE_CXX_LINK_FLAGS}" CACHE STRING "LDFLAGS" ) | |||
49 | # only search in the paths provided so cmake doesnt pick | 49 | # only search in the paths provided so cmake doesnt pick |
50 | # up libraries and tools from the native build machine | 50 | # up libraries and tools from the native build machine |
51 | set( CMAKE_FIND_ROOT_PATH ${STAGING_DIR_HOST} ${STAGING_DIR_NATIVE} ${CROSS_DIR} ${OECMAKE_PERLNATIVE_DIR} ${OECMAKE_EXTRA_ROOT_PATH} ${EXTERNAL_TOOLCHAIN}) | 51 | set( CMAKE_FIND_ROOT_PATH ${STAGING_DIR_HOST} ${STAGING_DIR_NATIVE} ${CROSS_DIR} ${OECMAKE_PERLNATIVE_DIR} ${OECMAKE_EXTRA_ROOT_PATH} ${EXTERNAL_TOOLCHAIN}) |
52 | set( CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY ) | ||
52 | set( CMAKE_FIND_ROOT_PATH_MODE_PROGRAM ONLY ) | 53 | set( CMAKE_FIND_ROOT_PATH_MODE_PROGRAM ONLY ) |
53 | set( CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY ) | 54 | set( CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY ) |
54 | set( CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY ) | 55 | set( CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY ) |