find_package
inner code doesn’t run with a new scope, so PARENT_SCOPE
shouldn’t be necessary. Given that other things are directory scoped as well, the default scoping for config.cmake
files hasn’t been an issue for me (callers just need to use find_package
“high enough” for it to work).
1 Like