This is a follow-up question to Where can a project install its CMake modules
To briefly describe the issue again:
Main project provides CMake modules and configuration that extensions (built as separate projects) need to use. When using package config file(s) this works ok I think and projects then need to find the main package and adjust the CMAKE_MODULE_PATH to have access to main project’s CMake modules.
What about when a project installs CPS? Where and how could this be then resolved? Is it possible to specify some variable in CPS where CMake modules can be loaded from?
Thank you.