]> code.ossystems Code Review - openembedded-core.git/commitdiff
cmake: Clarify comment in cmake toolchain file uninative-2.6
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 20 Jun 2019 10:15:44 +0000 (11:15 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 20 Jun 2019 12:14:01 +0000 (13:14 +0100)
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>
meta/classes/cmake.bbclass

index f80a7e2f1d63fd2b46aa0b644135fece9b8cba0e..2b317c832febeb8f63b444a38c72aeb1f7ba90b3 100644 (file)
@@ -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