Skip to contentSkip to conversation

cmake: Clarify comment in cmake toolchain file

PATCH New Richard Purdie 1 participant 1 message Jun 20, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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]

---
 meta/classes/cmake.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/classes/cmake.bbclass +1 -1
index f80a7e2f1d6..2b317c832fe 100644
@@ -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
Signature · 1 line
2.20.1