From 5263768b701b9ba5cef3040e4873c9ffd2d44407 Mon Sep 17 00:00:00 2001 From: NancyLi1013 Date: Sun, 29 Mar 2020 23:46:41 -0700 Subject: [PATCH] Add vcpkg installation instructions --- src/README | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/README b/src/README index 826c58da..0fa63007 100644 --- a/src/README +++ b/src/README @@ -37,3 +37,14 @@ and you will end up with the static library /src/bin//libopenvr_api.a To build a shared library, pass -DBUILD_SHARED=1 to cmake. To build as a framework on apple platforms, pass -DBUILD_FRAMEWORK=1 to cmake. To see a complete list of configurable build options, use `cmake -LAH` + +You can download and install openvr using the vcpkg(https://github.com/Microsoft/vcpkg) dependency manager: + + $ git clone https://github.com/Microsoft/vcpkg.git + $ cd vcpkg + $ ./bootstrap-vcpkg.sh + $ ./vcpkg integrate install + $ vcpkg install openvr + +The openvr port in vcpkg is kept up to date by Microsoft team members and community contributors. If the version is out of date, please create an issue or pull request(https://github.com/Microsoft/vcpkg) on the vcpkg repository. +