This cache variable allows package managers to customize the CMake config location according to their own conventions.
After a short discussion with @ras0219-msft, I was convinced that the config location should be a cache variable.
For regular users, this will not change anything.
For package managers and their maintainers, this means they can move the files to some intermediate location for processing, then finally in some other location that find_package() can find, if they so wish.
This cache variable allows package managers to customize the CMake config location according to their own conventions.
After a short discussion with @ras0219-msft, I was convinced that the config location should be a cache variable.
For regular users, this will not change anything.
For package managers and their maintainers, this means they can move the files to some intermediate location for processing, then finally in some other location that
find_package()
can find, if they so wish.