diff options
| author | Alexander Karatarakis <alex@karatarakis.com> | 2018-01-26 13:26:15 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-01-26 13:26:15 -0800 |
| commit | 657d2058345c422f4fc82b4a164b8051475f62a7 (patch) | |
| tree | 8a27bed521bfcbb5a9a45b8498a7e6f10eea2295 | |
| parent | 6063e6f1331e9924a330ad215452a4179cefd1ff (diff) | |
| parent | d0897e726d7e0809cab6fbadbfa3ccceec8bb502 (diff) | |
| download | vcpkg-657d2058345c422f4fc82b4a164b8051475f62a7.tar.gz vcpkg-657d2058345c422f4fc82b4a164b8051475f62a7.zip | |
Merge pull request #2644 from jasjuang/openvr
[openvr] update to 1.0.12 and use vcpkg_from_github
| -rw-r--r-- | ports/openvr/CONTROL | 2 | ||||
| -rw-r--r-- | ports/openvr/portfile.cmake | 21 |
2 files changed, 8 insertions, 15 deletions
diff --git a/ports/openvr/CONTROL b/ports/openvr/CONTROL index 69d7ba966..18d040b95 100644 --- a/ports/openvr/CONTROL +++ b/ports/openvr/CONTROL @@ -1,3 +1,3 @@ Source: openvr -Version: 1.0.9 +Version: 1.0.12 Description: an API and runtime that allows access to VR hardware from multiple vendors without requiring that applications have specific knowledge of the hardware they are targeting. diff --git a/ports/openvr/portfile.cmake b/ports/openvr/portfile.cmake index 50ec79d77..1a18b4fd0 100644 --- a/ports/openvr/portfile.cmake +++ b/ports/openvr/portfile.cmake @@ -1,19 +1,12 @@ -# Common Ambient Variables: -# VCPKG_ROOT_DIR = <C:\path\to\current\vcpkg> -# TARGET_TRIPLET is the current triplet (x86-windows, etc) -# PORT is the current port name (zlib, etc) -# CURRENT_BUILDTREES_DIR = ${VCPKG_ROOT_DIR}\buildtrees\${PORT} -# CURRENT_PACKAGES_DIR = ${VCPKG_ROOT_DIR}\packages\${PORT}_${TARGET_TRIPLET} -# - include(vcpkg_common_functions) -set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/openvr-1.0.9) -vcpkg_download_distfile(ARCHIVE - URLS "https://github.com/ValveSoftware/openvr/archive/v1.0.9.zip" - FILENAME "openvr-v1.0.9.zip" - SHA512 969cf6bf94802553bb4f1e5d6a2348566847b3d60efee9d8f83233d1d85e44a870e388028be956950d4f8ecb79f8e0bcf0a6b987b0ab3083060ece5ea48b8fa7 + +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO ValveSoftware/openvr + REF v1.0.12 + SHA512 42e6ac8635417fbb2c95a4b290f917d057c0d66ac1e07b4a0d16c4f8197b06c8ebf553299060a7996b5a9b5420f299f2bda257b8133dc99f9441c67331293ad1 + HEAD_REF master ) -vcpkg_extract_source_archive(${ARCHIVE}) set(VCPKG_LIBRARY_LINKAGE dynamic) |
