From: Richard Purdie Date: Thu, 20 Jun 2019 10:15:44 +0000 (+0100) Subject: cmake: Clarify comment in cmake toolchain file X-Git-Tag: uninative-2.6^0 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=0fdf76305a3cb543c23d6122c523ce5c2af04a0c;p=openembedded-core.git cmake: Clarify comment in cmake toolchain file The comment is misleading and there was confusion in a bug report. In the native case STAGING_DATADIR would be equal to the native value so there isn't any issue but tweak the comment. [YOCTO #12761] Signed-off-by: Richard Purdie --- diff --git a/meta/classes/cmake.bbclass b/meta/classes/cmake.bbclass index f80a7e2f1d..2b317c832f 100644 --- a/meta/classes/cmake.bbclass +++ b/meta/classes/cmake.bbclass @@ -119,7 +119,7 @@ set( ENV{QT_CONF_PATH} ${WORKDIR}/qt.conf ) # directory as rpath by default set( CMAKE_INSTALL_RPATH ${OECMAKE_RPATH} ) -# Use native cmake modules +# Use our cmake modules list(APPEND CMAKE_MODULE_PATH "${STAGING_DATADIR}/cmake/Modules/") # add for non /usr/lib libdir, e.g. /usr/lib64