aboutsummaryrefslogtreecommitdiff
path: root/ports/cppwinrt
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2017-10-23 12:15:01 -0700
committerGitHub <noreply@github.com>2017-10-23 12:15:01 -0700
commit65fa778cf62bcd5794b5a24edd867a7e7f1298d8 (patch)
treef29657eea1fe5c6c3d46f2da37996285ccb019d9 /ports/cppwinrt
parentf24c1c6ccd8617246d395be1d58abf3dfffcc931 (diff)
parent0b6e08b14823a78c21733bd1a370d60a67b91db1 (diff)
downloadvcpkg-65fa778cf62bcd5794b5a24edd867a7e7f1298d8.tar.gz
vcpkg-65fa778cf62bcd5794b5a24edd867a7e7f1298d8.zip
Merge branch 'master' into master
Diffstat (limited to 'ports/cppwinrt')
-rw-r--r--ports/cppwinrt/CONTROL2
-rw-r--r--ports/cppwinrt/portfile.cmake11
2 files changed, 6 insertions, 7 deletions
diff --git a/ports/cppwinrt/CONTROL b/ports/cppwinrt/CONTROL
index aa481439e..cd911b99e 100644
--- a/ports/cppwinrt/CONTROL
+++ b/ports/cppwinrt/CONTROL
@@ -1,3 +1,3 @@
Source: cppwinrt
-Version: Fall_2017_Creators_Update_for_VS_15.3
+Version: fall_2017_creators_update_for_vs_15.3-2
Description: C++/WinRT is a standard C++ language projection for the Windows Runtime.
diff --git a/ports/cppwinrt/portfile.cmake b/ports/cppwinrt/portfile.cmake
index e093ecdfa..ec1cb0603 100644
--- a/ports/cppwinrt/portfile.cmake
+++ b/ports/cppwinrt/portfile.cmake
@@ -1,13 +1,12 @@
include(vcpkg_common_functions)
-set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/cppwinrt-fall_2017_creators_update_for_vs_15.3)
-
-vcpkg_download_distfile(ARCHIVE
- URLS "https://github.com/Microsoft/cppwinrt/archive/fall_2017_creators_update_for_vs_15.3.tar.gz"
- FILENAME "cppwinrt-fall_2017_creators_update_for_vs_15.3.tar.gz"
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO Microsoft/cppwinrt
+ REF fall_2017_creators_update_for_vs_15.3
SHA512 e3f987ed3f3dce019b8bf9f5451e53b42357473a003b8c14f9009e1848ee0463286bd46fdc3c739c8f7c2d232707e8018f5c087ffae784c745d51a8143f9a294
+ HEAD_REF master
)
-vcpkg_extract_source_archive(${ARCHIVE})
# Put the licence file where vcpkg expects it
file(COPY ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/cppwinrt)