aboutsummaryrefslogtreecommitdiff
path: root/scripts/cmake/vcpkg_from_github.cmake
diff options
context:
space:
mode:
authorMikhail Paulyshka <me@mixaill.tk>2017-12-30 01:21:18 +0300
committerRobert Schumacher <roschuma@microsoft.com>2018-01-05 15:47:17 -0800
commit42c0cfc8705c71c3c9dcc4df4804ab342dc89988 (patch)
tree7e091419bffe5f3d8c53a624f8c6921d50a90f6d /scripts/cmake/vcpkg_from_github.cmake
parentcf802347a47279e43bb37592437f3632bcdc5374 (diff)
downloadvcpkg-42c0cfc8705c71c3c9dcc4df4804ab342dc89988.tar.gz
vcpkg-42c0cfc8705c71c3c9dcc4df4804ab342dc89988.zip
[vcpkg] fix --head flag for github-based ports
Diffstat (limited to 'scripts/cmake/vcpkg_from_github.cmake')
-rw-r--r--scripts/cmake/vcpkg_from_github.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/cmake/vcpkg_from_github.cmake b/scripts/cmake/vcpkg_from_github.cmake
index b71ab3838..545be3b4d 100644
--- a/scripts/cmake/vcpkg_from_github.cmake
+++ b/scripts/cmake/vcpkg_from_github.cmake
@@ -141,11 +141,13 @@ function(vcpkg_from_github)
vcpkg_download_distfile(ARCHIVE_VERSION
URLS "https://api.github.com/repos/${ORG_NAME}/${REPO_NAME}/git/refs/heads/${_vdud_HEAD_REF}"
FILENAME ${downloaded_file_name}.version
+ SKIP_SHA512
)
vcpkg_download_distfile(ARCHIVE
URLS ${URL}
FILENAME ${downloaded_file_name}
+ SKIP_SHA512
)
set(_VCPKG_INTERNAL_NO_HASH_CHECK "FALSE")
endif()