diff options
Diffstat (limited to 'meta/classes/cmake.bbclass')
| -rw-r--r-- | meta/classes/cmake.bbclass | 3 |
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 |
| 121 | set( CMAKE_INSTALL_RPATH ${OECMAKE_RPATH} ) | 121 | set( CMAKE_INSTALL_RPATH ${OECMAKE_RPATH} ) |
| 122 | 122 | ||
| 123 | # Use RPATHs relative to build directory for reproducibility | ||
| 124 | set( CMAKE_BUILD_RPATH_USE_ORIGIN ON ) | ||
| 125 | |||
| 123 | # Use our cmake modules | 126 | # Use our cmake modules |
| 124 | list(APPEND CMAKE_MODULE_PATH "${STAGING_DATADIR}/cmake/Modules/") | 127 | list(APPEND CMAKE_MODULE_PATH "${STAGING_DATADIR}/cmake/Modules/") |
| 125 | 128 | ||
