From 8d21f5d5bdd12041ee2ea89a7a2bc25e30753158 Mon Sep 17 00:00:00 2001 From: Monica Date: Thu, 15 Sep 2022 15:04:27 +0800 Subject: [PATCH] Add vcpkg installation instructions --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index 6576772..eec73fd 100644 --- a/README.md +++ b/README.md @@ -48,6 +48,20 @@ make make install ``` +Alternatively, You can build and install woff2 using [vcpkg](https://github.com/Microsoft/vcpkg/) dependency manager: + +``` +git clone https://github.com/Microsoft/vcpkg.git +cd vcpkg +./bootstrap-vcpkg.sh # ./bootstrap-vcpkg.bat for Windows +./vcpkg integrate install +./vcpkg install woff2 +``` + +The woff2 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. + + ## Run Ensure the binaries from the build process are in your $PATH, then: