修改cmake Fetchcontent三方库git地址

This commit is contained in:
Jie
2024-08-21 11:07:22 +08:00
parent 4d7249aca2
commit fe16ce9de3
4 changed files with 7 additions and 4 deletions

View File

@@ -1,8 +1,10 @@
include(FetchContent) include(FetchContent)
FetchContent_Declare( FetchContent_Declare(
gtest gtest
GIT_REPOSITORY https://gitee.com/mirrors/googletest.git #GIT_REPOSITORY https://gitee.com/mirrors/googletest.git
GIT_REPOSITORY http://212.129.155.29:3000/gitMirror/googletest.git
SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/external/gtest SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/external/gtest
GIT_TAG main
) )
FetchContent_MakeAvailable(gtest) FetchContent_MakeAvailable(gtest)

View File

@@ -1,8 +1,9 @@
include(FetchContent) include(FetchContent)
FetchContent_Declare( FetchContent_Declare(
spdlog spdlog
GIT_REPOSITORY https://15209444885:9e4e79586fa1a4d39e6634de8881b19e@gitee.com/MaderHatter/spdlog.git GIT_REPOSITORY http://212.129.155.29:3000/gitMirror/spdlog.git
SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/external/spdlog SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/external/spdlog
GIT_TAG main
) )
FetchContent_MakeAvailable(spdlog) FetchContent_MakeAvailable(spdlog)

2
external/gtest vendored

Submodule external/gtest updated: 1b18723e87...ff233bdd4c

2
external/spdlog vendored

Submodule external/spdlog updated: 00efbb6d1d...5ebfc92730