11 lines
268 B
CMake
11 lines
268 B
CMake
include(FetchContent)
|
|
|
|
FetchContent_Declare(
|
|
spdlog
|
|
EXCLUDE_FROM_ALL
|
|
GIT_REPOSITORY https://github.com/gabime/spdlog.git
|
|
GIT_TAG v1.8.1
|
|
GIT_SHALLOW TRUE
|
|
)
|
|
FetchContent_MakeAvailable(spdlog)
|
|
#add_definitions(-SPDLOG_FMT_EXTERNAL) |