aboutsummaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
authorAlexander Karatarakis <alex@karatarakis.com>2017-09-08 11:39:14 -0700
committerGitHub <noreply@github.com>2017-09-08 11:39:14 -0700
commit6d0f750646b0654ff5660ec70061a71a663d1bd9 (patch)
tree915e4e61505e7151f5bf5b38f35e66955a933bc8 /ports
parent727f37367115a8910f0422ef888e219412ed5d38 (diff)
parent6b5e39848a9b1bf2e4afd688863ebd50620caddf (diff)
downloadvcpkg-6d0f750646b0654ff5660ec70061a71a663d1bd9.tar.gz
vcpkg-6d0f750646b0654ff5660ec70061a71a663d1bd9.zip
Merge pull request #1731 from FabienPean/PR/script_cmake_vcpkg_from_bitbucket
[cmake] add function vcpkg_from_bitbucket
Diffstat (limited to 'ports')
-rw-r--r--ports/blaze/portfile.cmake12
1 files changed, 6 insertions, 6 deletions
diff --git a/ports/blaze/portfile.cmake b/ports/blaze/portfile.cmake
index 3225e99d4..a8fc5ab1e 100644
--- a/ports/blaze/portfile.cmake
+++ b/ports/blaze/portfile.cmake
@@ -1,13 +1,13 @@
#header-only library
include(vcpkg_common_functions)
-set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/blaze-3.2)
-vcpkg_download_distfile(ARCHIVE
- URLS "https://bitbucket.org/blaze-lib/blaze/downloads/blaze-3.2.tar.gz"
- FILENAME "blaze-3.2.tar.gz"
- SHA512 33d2bb0a49a33e71c88a45ab9e8418160c09b877b3ebe5ff7aa48ec0973e28e8a282374604d56f1b5cf2722946e4ca84aa2b401a341240a2ab9debd72505148e
+vcpkg_from_bitbucket(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO blaze-lib/blaze
+ REF v3.2
+ SHA512 f9a50c454125fe194f0d1fb259c5440c82068d41880a228fbd15fe383b6ef4198557daa406a08809065eedf223fc0c55d2309cc00ef549a3fc1a2a89e6d4b445
+ HEAD_REF master
)
-vcpkg_extract_source_archive(${ARCHIVE})
# Copy the blaze header files
file(COPY "${SOURCE_PATH}/blaze"