diff options
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/cmake.bbclass | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/cmake.bbclass b/meta/classes/cmake.bbclass index 2b317c832f..291f1e8d44 100644 --- a/meta/classes/cmake.bbclass +++ b/meta/classes/cmake.bbclass | |||
@@ -106,11 +106,12 @@ set( CMAKE_CXX_LINK_FLAGS "${OECMAKE_CXX_LINK_FLAGS}" CACHE STRING "LDFLAGS" ) | |||
106 | 106 | ||
107 | # only search in the paths provided so cmake doesnt pick | 107 | # only search in the paths provided so cmake doesnt pick |
108 | # up libraries and tools from the native build machine | 108 | # up libraries and tools from the native build machine |
109 | set( CMAKE_FIND_ROOT_PATH ${STAGING_DIR_HOST} ${STAGING_DIR_NATIVE} ${CROSS_DIR} ${OECMAKE_PERLNATIVE_DIR} ${OECMAKE_EXTRA_ROOT_PATH} ${EXTERNAL_TOOLCHAIN}) | 109 | set( CMAKE_FIND_ROOT_PATH ${STAGING_DIR_HOST} ${STAGING_DIR_NATIVE} ${CROSS_DIR} ${OECMAKE_PERLNATIVE_DIR} ${OECMAKE_EXTRA_ROOT_PATH} ${EXTERNAL_TOOLCHAIN} ${HOSTTOOLS_DIR}) |
110 | set( CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY ) | 110 | set( CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY ) |
111 | set( CMAKE_FIND_ROOT_PATH_MODE_PROGRAM ${OECMAKE_FIND_ROOT_PATH_MODE_PROGRAM} ) | 111 | set( CMAKE_FIND_ROOT_PATH_MODE_PROGRAM ${OECMAKE_FIND_ROOT_PATH_MODE_PROGRAM} ) |
112 | set( CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY ) | 112 | set( CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY ) |
113 | set( CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY ) | 113 | set( CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY ) |
114 | set( CMAKE_PROGRAM_PATH "/" ) | ||
114 | 115 | ||
115 | # Use qt.conf settings | 116 | # Use qt.conf settings |
116 | set( ENV{QT_CONF_PATH} ${WORKDIR}/qt.conf ) | 117 | set( ENV{QT_CONF_PATH} ${WORKDIR}/qt.conf ) |