From 3db653f2d089e5c7ad9a24690fa6b066d0b9315c Mon Sep 17 00:00:00 2001 From: quicksilver Date: Wed, 19 May 2021 17:39:29 +0800 Subject: [PATCH] Update cpp thirdparty source URL (#5295) Signed-off-by: quicksilver Resolves: #5293 --- internal/core/thirdparty/gtest/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/core/thirdparty/gtest/CMakeLists.txt b/internal/core/thirdparty/gtest/CMakeLists.txt index f676e0c90d..d1728b0b83 100644 --- a/internal/core/thirdparty/gtest/CMakeLists.txt +++ b/internal/core/thirdparty/gtest/CMakeLists.txt @@ -14,7 +14,7 @@ if ( DEFINED ENV{MILVUS_GTEST_URL} ) set( GTEST_SOURCE_URL "$ENV{MILVUS_GTEST_URL}" ) else() - set( GTEST_SOURCE_URL "https://gitee.com/quicksilver/googletest/repository/archive/release-${GTEST_VERSION}.zip" ) + set( GTEST_SOURCE_URL "https://github.com/google/googletest/archive/release-${GTEST_VERSION}.zip" ) endif() message( STATUS "Building gtest-${GTEST_VERSION} from source" ) @@ -24,7 +24,7 @@ set( CMAKE_POLICY_DEFAULT_CMP0022 NEW ) # for googletest only FetchContent_Declare( googletest URL ${GTEST_SOURCE_URL} - URL_MD5 "f9137c5bc18b7d74027936f0f1bfa5c8" + URL_MD5 "ad6868782b5952b7476a7c1c72d5a714" SOURCE_DIR ${CMAKE_CURRENT_BINARY_DIR}/googletest-src BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR}/googletest-build DOWNLOAD_DIR ${THIRDPARTY_DOWNLOAD_PATH} )