mirror of
https://git.yoctoproject.org/poky
synced 2026-09-13 00:49:33 +02:00
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] (From OE-Core rev: 0fdf76305a3cb543c23d6122c523ce5c2af04a0c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -119,7 +119,7 @@ set( ENV{QT_CONF_PATH} ${WORKDIR}/qt.conf )
|
|||||||
# directory as rpath by default
|
# directory as rpath by default
|
||||||
set( CMAKE_INSTALL_RPATH ${OECMAKE_RPATH} )
|
set( CMAKE_INSTALL_RPATH ${OECMAKE_RPATH} )
|
||||||
|
|
||||||
# Use native cmake modules
|
# Use our cmake modules
|
||||||
list(APPEND CMAKE_MODULE_PATH "${STAGING_DATADIR}/cmake/Modules/")
|
list(APPEND CMAKE_MODULE_PATH "${STAGING_DATADIR}/cmake/Modules/")
|
||||||
|
|
||||||
# add for non /usr/lib libdir, e.g. /usr/lib64
|
# add for non /usr/lib libdir, e.g. /usr/lib64
|
||||||
|
|||||||
Reference in New Issue
Block a user