CMake: disable global registry
The global CMake registry (~/.cmake) should not be used. See https://cmake.org/cmake/help/latest/manual/cmake-packages.7.html#disabling-the-package-registry. Otherwise, the workspaces are not isolated.
-
CMAKE_EXPORT_NO_PACKAGE_REGISTRY should be set to TRUE. export(...) will be a no-op then. -
CMAKE_FIND_USE_PACKAGE_REGISTRY should be set to FALSE. Then, the find_package(...) calls will ignore ~/.cmake
Beyond the scope of this (-> ArmarXCore)
-
All ArmarX packages should not populate the global CMake registry. Policy CMP0090 should be enabled https://cmake.org/cmake/help/latest/policy/CMP0090.html#policy:CMP0090
Edited by Christian Dreher