Allow usage of mirrors for all dependencies
This commit is contained in:
8
3rdParty/utfcpp/CMakeLists.txt
vendored
8
3rdParty/utfcpp/CMakeLists.txt
vendored
@@ -1,10 +1,14 @@
|
||||
include(FetchContent)
|
||||
|
||||
if(NOT DEFINED UTFCPP_REPO)
|
||||
set(UTFCPP_REPO https://github.com/nemtrif/utfcpp.git)
|
||||
endif ()
|
||||
|
||||
FetchContent_Declare(
|
||||
utfcpp
|
||||
EXCLUDE_FROM_ALL
|
||||
GIT_REPOSITORY https://github.com/nemtrif/utfcpp.git
|
||||
GIT_TAG v3.1.2
|
||||
GIT_REPOSITORY ${UTFCPP_REPO}
|
||||
GIT_TAG v4.0.1
|
||||
GIT_SHALLOW TRUE
|
||||
)
|
||||
set(UTF8_TESTS OFF)
|
||||
|
||||
Reference in New Issue
Block a user