Files
OpenVulkano/3rdParty/spdlog/CMakeLists.txt

15 lines
343 B
CMake

include(FetchContent)
if(NOT DEFINED SPDLOG_REPO)
set(SPDLOG_REPO https://github.com/gabime/spdlog.git)
endif ()
FetchContent_Declare(
spdlog
EXCLUDE_FROM_ALL
GIT_REPOSITORY ${SPDLOG_REPO}
GIT_TAG v1.10.0
GIT_SHALLOW TRUE
)
FetchContent_MakeAvailable(spdlog)
#add_definitions(-SPDLOG_FMT_EXTERNAL)