summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/cmake.bbclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/cmake.bbclass b/meta/classes/cmake.bbclass
index 291f1e8d44..8ccb1eefc7 100644
--- a/meta/classes/cmake.bbclass
+++ b/meta/classes/cmake.bbclass
@@ -120,6 +120,9 @@ set( ENV{QT_CONF_PATH} ${WORKDIR}/qt.conf )
120# directory as rpath by default 120# directory as rpath by default
121set( CMAKE_INSTALL_RPATH ${OECMAKE_RPATH} ) 121set( CMAKE_INSTALL_RPATH ${OECMAKE_RPATH} )
122 122
123# Use RPATHs relative to build directory for reproducibility
124set( CMAKE_BUILD_RPATH_USE_ORIGIN ON )
125
123# Use our cmake modules 126# Use our cmake modules
124list(APPEND CMAKE_MODULE_PATH "${STAGING_DATADIR}/cmake/Modules/") 127list(APPEND CMAKE_MODULE_PATH "${STAGING_DATADIR}/cmake/Modules/")
125 128