Skip to content

use fetch content to initialize variant at configuration step

Matthias Wittgen requested to merge cmake_use_fetch_package into devel

variant is a header only library and current handling requires to use add_dependencies for each library to ensure it is installed before building the target. This is rather clunky and a bad work-around. With FetchContent the library is installed and the cmake configuratio step and the build step. This later will come in handy when using pybind11

Merge request reports