修改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)
FetchContent_Declare(
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
GIT_TAG main
)
FetchContent_MakeAvailable(gtest)