install config target with components
is there a way to create foo-config.cmake
files with multiple components like find_package(Boost COPONENTS ...)
does?
I did only find the documentation on how to tell cmake to create a simple config file https://cmake.org/cmake/help/latest/module/CMakePackageConfigHelpers.html#example-generating-package-files