mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-07 01:28:27 +08:00
fix: use milvus-io/vcpkg (#31770)
issue: #31769 GitHub Disables The XZ Repository because of CVE-2024-3094 Signed-off-by: PowderLi <min.li@zilliz.com>
This commit is contained in:
parent
5655ec4fc0
commit
d299fa502e
@ -18,7 +18,7 @@ macro(az_vcpkg_integrate)
|
|||||||
message("AZURE_SDK_DISABLE_AUTO_VCPKG is not defined. Fetch a local copy of vcpkg.")
|
message("AZURE_SDK_DISABLE_AUTO_VCPKG is not defined. Fetch a local copy of vcpkg.")
|
||||||
# GET VCPKG FROM SOURCE
|
# GET VCPKG FROM SOURCE
|
||||||
# User can set env var AZURE_SDK_VCPKG_COMMIT to pick the VCPKG commit to fetch
|
# User can set env var AZURE_SDK_VCPKG_COMMIT to pick the VCPKG commit to fetch
|
||||||
set(VCPKG_COMMIT_STRING dc3c55f092c96fb3f1dcdff84e6a99f947ea4165) # default SDK tested commit
|
set(VCPKG_COMMIT_STRING 061fe134942a36905e12c11477c8eba761bffc5f) # default SDK tested commit
|
||||||
if(DEFINED ENV{AZURE_SDK_VCPKG_COMMIT})
|
if(DEFINED ENV{AZURE_SDK_VCPKG_COMMIT})
|
||||||
message("AZURE_SDK_VCPKG_COMMIT is defined. Using that instead of the default.")
|
message("AZURE_SDK_VCPKG_COMMIT is defined. Using that instead of the default.")
|
||||||
set(VCPKG_COMMIT_STRING "$ENV{AZURE_SDK_VCPKG_COMMIT}") # default SDK tested commit
|
set(VCPKG_COMMIT_STRING "$ENV{AZURE_SDK_VCPKG_COMMIT}") # default SDK tested commit
|
||||||
@ -27,7 +27,7 @@ macro(az_vcpkg_integrate)
|
|||||||
include(FetchContent)
|
include(FetchContent)
|
||||||
FetchContent_Declare(
|
FetchContent_Declare(
|
||||||
vcpkg
|
vcpkg
|
||||||
GIT_REPOSITORY https://github.com/microsoft/vcpkg.git
|
GIT_REPOSITORY https://github.com/milvus-io/vcpkg.git
|
||||||
GIT_TAG ${VCPKG_COMMIT_STRING}
|
GIT_TAG ${VCPKG_COMMIT_STRING}
|
||||||
)
|
)
|
||||||
FetchContent_GetProperties(vcpkg)
|
FetchContent_GetProperties(vcpkg)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user