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 6dbac2b75f..e7883105da 100644
--- a/meta/classes/cmake.bbclass
+++ b/meta/classes/cmake.bbclass
@@ -74,7 +74,7 @@ set( ENV{QT_CONF_PATH} ${WORKDIR}/qt.conf )
74set( CMAKE_INSTALL_RPATH ${OECMAKE_RPATH} ) 74set( CMAKE_INSTALL_RPATH ${OECMAKE_RPATH} )
75 75
76# Use native cmake modules 76# Use native cmake modules
77list(APPEND CMAKE_MODULE_PATH "${STAGING_DATADIR}/cmake-\${CMAKE_MAJOR_VERSION}.\${CMAKE_MINOR_VERSION}/Modules/") 77list(APPEND CMAKE_MODULE_PATH "${STAGING_DATADIR}/cmake/Modules/")
78 78
79# add for non /usr/lib libdir, e.g. /usr/lib64 79# add for non /usr/lib libdir, e.g. /usr/lib64
80set( CMAKE_LIBRARY_PATH ${libdir} ${base_libdir}) 80set( CMAKE_LIBRARY_PATH ${libdir} ${base_libdir})