diff options
Diffstat (limited to 'meta/classes/cmake.bbclass')
-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 ) |