find_package: Optionally make imported targets GLOBAL
By default, imported targets are scoped only in the directory where they are created. When they come from a package configuration file loaded by find_package
, they are scoped in whatever directory called find_package
.
In some use cases, projects want to load a package as a globally available dependency. We should consider adding an option to find_package
to make targets defined inside it global.