diff options
| author | Sergii Baitala <sbaitala@imprivata.com> | 2021-07-28 03:04:22 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-27 17:04:22 -0700 |
| commit | 1257354a3ab0bebd8abe95281ca561537853578c (patch) | |
| tree | a396422e0c3fb9f2e162a4ca934620252db9bcb9 /scripts | |
| parent | d331544d828da981cfd6369a5c549703f3453d70 (diff) | |
| download | vcpkg-1257354a3ab0bebd8abe95281ca561537853578c.tar.gz vcpkg-1257354a3ab0bebd8abe95281ca561537853578c.zip | |
[vcpkg] Pass AUTHORIZATION_TOKEN to the vcpkg_download_distfile() command which retrieves VCPKG_HEAD_VERSION (#19077)
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/cmake/vcpkg_from_github.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
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 ) |
