Allow usage of mirrors for all dependencies
This commit is contained in:
6
3rdParty/imgui/CMakeLists.txt
vendored
6
3rdParty/imgui/CMakeLists.txt
vendored
@@ -1,11 +1,15 @@
|
||||
include(FetchContent)
|
||||
|
||||
if(NOT DEFINED IMGUI_REPO)
|
||||
set(IMGUI_REPO https://github.com/ocornut/imgui.git)
|
||||
endif ()
|
||||
|
||||
project(imgui_internal VERSION 1.0 LANGUAGES C CXX)
|
||||
|
||||
set(IMGUI_SRC_DIR ${CMAKE_BINARY_DIR}/3rdParty/imgui/imgui-src)
|
||||
|
||||
FetchContent_Populate(imgui
|
||||
GIT_REPOSITORY https://github.com/ocornut/imgui.git
|
||||
GIT_REPOSITORY ${IMGUI_REPO}
|
||||
GIT_SHALLOW TRUE
|
||||
GIT_TAG v1.90-docking
|
||||
SOURCE_DIR ${IMGUI_SRC_DIR}
|
||||
|
||||
Reference in New Issue
Block a user