summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/cmake.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/cmake.bbclass b/meta/classes/cmake.bbclass
index 432427e913..8aec759872 100644
--- a/meta/classes/cmake.bbclass
+++ b/meta/classes/cmake.bbclass
@@ -43,7 +43,7 @@ set( CMAKE_CXX_FLAGS_RELEASE "${OECMAKE_CXX_FLAGS_RELEASE}" CACHE STRING "CXXFLA
43 43
44# only search in the paths provided so cmake doesnt pick 44# only search in the paths provided so cmake doesnt pick
45# up libraries and tools from the native build machine 45# up libraries and tools from the native build machine
46set( CMAKE_FIND_ROOT_PATH ${STAGING_DIR_HOST} ${STAGING_DIR_NATIVE} ${CROSS_DIR} ${OECMAKE_PERLNATIVE_DIR} ${OECMAKE_EXTRA_ROOT_PATH} ) 46set( CMAKE_FIND_ROOT_PATH ${STAGING_DIR_HOST} ${STAGING_DIR_NATIVE} ${CROSS_DIR} ${OECMAKE_PERLNATIVE_DIR} ${OECMAKE_EXTRA_ROOT_PATH} ${EXTERNAL_TOOLCHAIN})
47set( CMAKE_FIND_ROOT_PATH_MODE_PROGRAM ONLY ) 47set( CMAKE_FIND_ROOT_PATH_MODE_PROGRAM ONLY )
48set( CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY ) 48set( CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY )
49set( CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY ) 49set( CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY )