From 3e8222be587f4d3471f65818d5494d4a6a8ab40c Mon Sep 17 00:00:00 2001 From: PhoebeHui Date: Fri, 17 Jan 2020 03:31:08 -0800 Subject: [PATCH 1/2] Add vcpkg installation instructions --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index c94c7882..cd08f09a 100644 --- a/README.md +++ b/README.md @@ -143,6 +143,11 @@ example about how Meson is used to build this project. Note that default build type is **release**. +### VCPKG +If you are using the [vcpkg](https://github.com/Microsoft/vcpkg/) dependency manager, +you can build and install zstd with CMake integration in a single command: +- `vcpkg install zstd` + ### Visual Studio (Windows) Going into `build` directory, you will find additional possibilities: From 77387090201fe2a70d45b04dc6be2b67a9f2e38e Mon Sep 17 00:00:00 2001 From: PhoebeHui Date: Sun, 19 Jan 2020 23:51:40 -0800 Subject: [PATCH 2/2] Update comments --- README.md | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index cd08f09a..cb956690 100644 --- a/README.md +++ b/README.md @@ -144,9 +144,16 @@ example about how Meson is used to build this project. Note that default build type is **release**. ### VCPKG -If you are using the [vcpkg](https://github.com/Microsoft/vcpkg/) dependency manager, -you can build and install zstd with CMake integration in a single command: -- `vcpkg install zstd` +You can build and install zstd [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 zstd + +The zstd 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. ### Visual Studio (Windows)