From 4edcebf40ce2168b24ec96f3e56e09aaca00b526 Mon Sep 17 00:00:00 2001 From: Sutou Kouhei Date: Sun, 25 Jun 2023 14:51:15 +0900 Subject: [PATCH] Add support for mirror --- cpp/cmake_modules/ThirdpartyToolchain.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/cpp/cmake_modules/ThirdpartyToolchain.cmake b/cpp/cmake_modules/ThirdpartyToolchain.cmake index dcec9d3e82b09..b872611a7674c 100644 --- a/cpp/cmake_modules/ThirdpartyToolchain.cmake +++ b/cpp/cmake_modules/ThirdpartyToolchain.cmake @@ -634,6 +634,7 @@ if(DEFINED ENV{ARROW_GOOGLE_CLOUD_CPP_URL}) else() set_urls(google_cloud_cpp_storage_SOURCE_URL "https://github.com/googleapis/google-cloud-cpp/archive/${ARROW_GOOGLE_CLOUD_CPP_BUILD_VERSION}.tar.gz" + "${THIRDPARTY_MIRROR_URL}/google-cloud-cpp-${ARROW_GOOGLE_CLOUD_CPP_BUILD_VERSION}.tar.gz" ) endif()