Allow usage of mirrors for all dependencies

This commit is contained in:
2023-10-29 19:02:11 +01:00
parent a6b31d69be
commit 45cb095561
17 changed files with 111 additions and 24 deletions

View File

@@ -1,9 +1,13 @@
include(FetchContent)
if(NOT DEFINED FTXUI_REPO)
set(FTXUI_REPO https://github.com/ArthurSonzogni/ftxui.git)
endif ()
FetchContent_Declare(
ftxui
EXCLUDE_FROM_ALL
GIT_REPOSITORY https://github.com/ArthurSonzogni/ftxui.git
GIT_REPOSITORY ${FTXUI_REPO}
GIT_TAG v5.0.0
GIT_SHALLOW TRUE
)