summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2019-06-20 11:15:44 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-06-20 13:14:22 +0100
commit70b6880c550c0a9c5ee36ac3c4d7884a17683843 (patch)
tree3cea35192cc2e27a1c4f1fc2f7886943118380f6 /meta/classes
parent2b884845ec87589416abe4cac0b836d72b71b789 (diff)
downloadpoky-70b6880c550c0a9c5ee36ac3c4d7884a17683843.tar.gz
cmake: Clarify comment in cmake toolchain fileuninative-2.6
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] (From OE-Core rev: 0fdf76305a3cb543c23d6122c523ce5c2af04a0c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-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 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 )
119# directory as rpath by default 119# directory as rpath by default
120set( CMAKE_INSTALL_RPATH ${OECMAKE_RPATH} ) 120set( CMAKE_INSTALL_RPATH ${OECMAKE_RPATH} )
121 121
122# Use native cmake modules 122# Use our cmake modules
123list(APPEND CMAKE_MODULE_PATH "${STAGING_DATADIR}/cmake/Modules/") 123list(APPEND CMAKE_MODULE_PATH "${STAGING_DATADIR}/cmake/Modules/")
124 124
125# add for non /usr/lib libdir, e.g. /usr/lib64 125# add for non /usr/lib libdir, e.g. /usr/lib64