From 1257354a3ab0bebd8abe95281ca561537853578c Mon Sep 17 00:00:00 2001 From: Sergii Baitala Date: Wed, 28 Jul 2021 03:04:22 +0300 Subject: [vcpkg] Pass AUTHORIZATION_TOKEN to the vcpkg_download_distfile() command which retrieves VCPKG_HEAD_VERSION (#19077) --- scripts/cmake/vcpkg_from_github.cmake | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts/cmake') diff --git a/scripts/cmake/vcpkg_from_github.cmake b/scripts/cmake/vcpkg_from_github.cmake index a9373baf5..68c4e2370 100644 --- a/scripts/cmake/vcpkg_from_github.cmake +++ b/scripts/cmake/vcpkg_from_github.cmake @@ -153,6 +153,7 @@ function(vcpkg_from_github) vcpkg_download_distfile(archive_version URLS "${github_api_url}/repos/${org_name}/${repo_name}/git/refs/heads/${arg_HEAD_REF}" FILENAME "${downloaded_file_name}.version" + ${headers_param} SKIP_SHA512 ALWAYS_REDOWNLOAD ) -- cgit v1.2.3