include(FetchContent) set(BOTAN_MODULES argon2fmt hotp base32 auto_rng system_rng tls13 certstor_system certstor_flatfile md5) FetchContent_Declare(spdlog GIT_REPOSITORY https://gitea.mattv.de/root/cmake-libraries.git GIT_TAG origin/spdlog) FetchContent_Declare(restbed GIT_REPOSITORY https://gitea.mattv.de/root/cmake-libraries.git GIT_TAG origin/restbed) FetchContent_Declare(botan GIT_REPOSITORY https://gitea.mattv.de/root/cmake-libraries.git GIT_TAG origin/botan) FetchContent_MakeAvailable(spdlog restbed botan) add_library(miniz STATIC miniz/miniz.c miniz/miniz.h) target_include_directories(miniz PUBLIC miniz) add_library(${PROJECT_NAME}_libs INTERFACE) target_link_libraries(${PROJECT_NAME}_libs INTERFACE spdlog::spdlog restbed::restbed Botan::Botan miniz )