Add vcpkg installation instructions

Change-Id: Id6396a9c31cb47bb7b1d743da7d5554505cd81a8
This commit is contained in:
Jonliu1993 2022-09-14 16:44:56 +08:00 committed by Vincent Rabaud
parent 57c58105f3
commit 61441425fe

View File

@ -96,6 +96,22 @@ make
make install
```
## Building libwebp - Using vcpkg
You can download and install libwebp 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 libwebp
The libwebp 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.
## CMake
With CMake, you can compile libwebp, cwebp, dwebp, gif2webp, img2webp, webpinfo