Allow usage of mirrors for all dependencies
This commit is contained in:
6
3rdParty/yaml-cpp/CMakeLists.txt
vendored
6
3rdParty/yaml-cpp/CMakeLists.txt
vendored
@@ -1,9 +1,13 @@
|
||||
include(FetchContent)
|
||||
|
||||
if(NOT DEFINED YAMLCPP_REPO)
|
||||
set(YAMLCPP_REPO https://github.com/jbeder/yaml-cpp.git)
|
||||
endif ()
|
||||
|
||||
FetchContent_Declare(
|
||||
yaml-cpp
|
||||
EXCLUDE_FROM_ALL
|
||||
GIT_REPOSITORY https://github.com/jbeder/yaml-cpp.git
|
||||
GIT_REPOSITORY ${YAMLCPP_REPO}
|
||||
GIT_TAG 0.8.0
|
||||
GIT_SHALLOW TRUE
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user