summaryrefslogtreecommitdiffstats
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:01 +0100
commit0fdf76305a3cb543c23d6122c523ce5c2af04a0c (patch)
tree2553f6092b1a987d4c15c819ceb6aa55f83868fe
parentdc47b3855d03af962bab176c7aed9bd47426b419 (diff)
downloadopenembedded-core-0fdf76305a3cb543c23d6122c523ce5c2af04a0c.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] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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 )
# 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