summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/cmake.bbclass3
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
109set( CMAKE_FIND_ROOT_PATH ${STAGING_DIR_HOST} ${STAGING_DIR_NATIVE} ${CROSS_DIR} ${OECMAKE_PERLNATIVE_DIR} ${OECMAKE_EXTRA_ROOT_PATH} ${EXTERNAL_TOOLCHAIN}) 109set( CMAKE_FIND_ROOT_PATH ${STAGING_DIR_HOST} ${STAGING_DIR_NATIVE} ${CROSS_DIR} ${OECMAKE_PERLNATIVE_DIR} ${OECMAKE_EXTRA_ROOT_PATH} ${EXTERNAL_TOOLCHAIN} ${HOSTTOOLS_DIR})
110set( CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY ) 110set( CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY )
111set( CMAKE_FIND_ROOT_PATH_MODE_PROGRAM ${OECMAKE_FIND_ROOT_PATH_MODE_PROGRAM} ) 111set( CMAKE_FIND_ROOT_PATH_MODE_PROGRAM ${OECMAKE_FIND_ROOT_PATH_MODE_PROGRAM} )
112set( CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY ) 112set( CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY )
113set( CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY ) 113set( CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY )
114set( CMAKE_PROGRAM_PATH "/" )
114 115
115# Use qt.conf settings 116# Use qt.conf settings
116set( ENV{QT_CONF_PATH} ${WORKDIR}/qt.conf ) 117set( ENV{QT_CONF_PATH} ${WORKDIR}/qt.conf )