summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorStefan Herbrechtsmeier <stefan@herbrechtsmeier.net>2013-08-14 10:47:44 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-08-16 11:14:33 +0100
commit8db18b60572acec2f6a9942a669f32b38cfd95e0 (patch)
treea7d90085f8635437924ee13f5a6ea71b0665c537 /meta
parent9f9cc59eef1e91f8d8818581cf227a6742563820 (diff)
downloadpoky-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>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/cmake.bbclass1
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
51set( CMAKE_FIND_ROOT_PATH ${STAGING_DIR_HOST} ${STAGING_DIR_NATIVE} ${CROSS_DIR} ${OECMAKE_PERLNATIVE_DIR} ${OECMAKE_EXTRA_ROOT_PATH} ${EXTERNAL_TOOLCHAIN}) 51set( CMAKE_FIND_ROOT_PATH ${STAGING_DIR_HOST} ${STAGING_DIR_NATIVE} ${CROSS_DIR} ${OECMAKE_PERLNATIVE_DIR} ${OECMAKE_EXTRA_ROOT_PATH} ${EXTERNAL_TOOLCHAIN})
52set( CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY )
52set( CMAKE_FIND_ROOT_PATH_MODE_PROGRAM ONLY ) 53set( CMAKE_FIND_ROOT_PATH_MODE_PROGRAM ONLY )
53set( CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY ) 54set( CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY )
54set( CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY ) 55set( CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY )