From a687f98f9881b205164ee56e75fbf6bd9378e9f6 Mon Sep 17 00:00:00 2001 From: igl42 <31173856+igl42@users.noreply.github.com> Date: Wed, 22 Aug 2018 23:38:31 +0200 Subject: [blaze] Fix the SHA512 in the 'portfile.cmake' (#4138) * [blaze] Fix the SHA512 in the 'portfile.cmake' * [blaze] Use commit SHA to avoid future tag movement. Fix patches. --- scripts/cmake/vcpkg_from_bitbucket.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/cmake/vcpkg_from_bitbucket.cmake b/scripts/cmake/vcpkg_from_bitbucket.cmake index a12d86b43..7eaf550bb 100644 --- a/scripts/cmake/vcpkg_from_bitbucket.cmake +++ b/scripts/cmake/vcpkg_from_bitbucket.cmake @@ -115,7 +115,7 @@ function(vcpkg_from_bitbucket) string(REGEX REPLACE "\"hash\": \"([a-f0-9]+)\"" "\\1" _version ${x}) string(SUBSTRING ${_version} 0 12 _version) # Get the 12 first numbers from commit hash else() - set(_version ${_vdud_REF}) + string(SUBSTRING ${_vdud_REF} 0 12 _version) # Get the 12 first numbers from commit hash endif() vcpkg_download_distfile(ARCHIVE -- cgit v1.2.3