Allow usage of mirrors for all dependencies
This commit is contained in:
8
3rdParty/spdlog/CMakeLists.txt
vendored
8
3rdParty/spdlog/CMakeLists.txt
vendored
@@ -1,10 +1,14 @@
|
||||
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 https://github.com/gabime/spdlog.git
|
||||
GIT_TAG v1.8.1
|
||||
GIT_REPOSITORY ${SPDLOG_REPO}
|
||||
GIT_TAG v1.10.0
|
||||
GIT_SHALLOW TRUE
|
||||
)
|
||||
FetchContent_MakeAvailable(spdlog)
|
||||
|
||||
Reference in New Issue
Block a user