summaryrefslogtreecommitdiffstats
path: root/meta/classes/cmake.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/cmake.bbclass')
-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 )