cmake / move FetchContent spdlog to a single place

This commit is contained in:
Benjamin Sergeant
2020-09-26 13:55:03 -07:00
parent 2526a94454
commit 93167e3917
3 changed files with 7 additions and 16 deletions

View File

@ -251,7 +251,12 @@ if (USE_WS OR USE_TEST)
add_subdirectory(ixsentry)
add_subdirectory(ixbots)
# add_subdirectory(third_party/spdlog spdlog)
include(FetchContent)
FetchContent_Declare(spdlog
GIT_REPOSITORY "https://github.com/gabime/spdlog"
GIT_TAG "v1.8.0")
FetchContent_MakeAvailable(spdlog)
if (USE_WS)
add_subdirectory(ws)