Skip to content

Commit

Permalink
[vcpkg] Pass AUTHORIZATION_TOKEN to the vcpkg_download_distfile() com…
Browse files Browse the repository at this point in the history
…mand which retrieves VCPKG_HEAD_VERSION (#19077)
  • Loading branch information
Sergii Baitala authored Jul 28, 2021
1 parent d331544 commit 1257354
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/cmake/vcpkg_from_github.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
Expand Down

0 comments on commit 1257354

Please sign in to comment.