diff options
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/cmake.bbclass | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes/cmake.bbclass b/meta/classes/cmake.bbclass index 672325e2d5..5ac540cfcc 100644 --- a/meta/classes/cmake.bbclass +++ b/meta/classes/cmake.bbclass | |||
@@ -55,6 +55,10 @@ set( CMAKE_INSTALL_RPATH ${OECMAKE_RPATH} ) | |||
55 | 55 | ||
56 | # Use native cmake modules | 56 | # Use native cmake modules |
57 | set( CMAKE_MODULE_PATH ${STAGING_DATADIR}/cmake/Modules/ ) | 57 | set( CMAKE_MODULE_PATH ${STAGING_DATADIR}/cmake/Modules/ ) |
58 | |||
59 | # add for non /usr/lib libdir, e.g. /usr/lib64 | ||
60 | LIST(APPEND CMAKE_SYSTEM_LIBRARY_PATH ${libdir}) | ||
61 | |||
58 | EOF | 62 | EOF |
59 | } | 63 | } |
60 | 64 | ||