mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 05:09:24 +00:00
cmake: set CMAKE_EXPORT_NO_PACKAGE_REGISTRY
if a cmake file uses export(PACKAGE) command it creates a folder ~/.cmake/package/<name> in the current user's home-dir. fix this host contermination by setting CMAKE_EXPORT_NO_PACKAGE_REGISTRY to ON by default, which makes the export() command do nothing (From OE-Core rev: fc7bd81cfe52c35fe26d146c1def8a7493bd2e25) Signed-off-by: Konrad Weihmann <kweihmann@outlook.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
3dc37c12c1
commit
c640057eda
@@ -187,6 +187,7 @@ cmake_do_configure() {
|
||||
-DCMAKE_INSTALL_SO_NO_EXE=0 \
|
||||
-DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \
|
||||
-DCMAKE_NO_SYSTEM_FROM_IMPORTED=1 \
|
||||
-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON \
|
||||
${EXTRA_OECMAKE} \
|
||||
-Wno-dev
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user