]> code.ossystems Code Review - openembedded-core.git/commit
cmake: set CMAKE_EXPORT_NO_PACKAGE_REGISTRY
authorKonrad Weihmann <kweihmann@outlook.com>
Thu, 18 Feb 2021 19:29:59 +0000 (20:29 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 19 Feb 2021 10:59:57 +0000 (10:59 +0000)
commitfc7bd81cfe52c35fe26d146c1def8a7493bd2e25
tree2aaf02c133ae7b5bc427579ad5eb2c12f5446951
parent07a8f1629662d4d66d056d95be3cb9e749242274
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

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/cmake.bbclass