fileserver/lib/CMakeLists.txt

20 lines
789 B
CMake
Raw Normal View History

2023-10-24 09:38:52 +00:00
include(FetchContent)
2023-10-24 09:38:52 +00:00
set(BOTAN_MODULES argon2fmt hotp base32 auto_rng system_rng tls13 certstor_system certstor_flatfile md5)
2023-10-24 09:38:52 +00:00
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
2023-10-24 09:38:52 +00:00
restbed::restbed
Botan::Botan
miniz
)