mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 03:10:57 +08:00
91dd61bd44
* [libwebp] Update to 1.3.0 * Fix [core] on x64-osx * Fix features and dependencies * Cleanup tool installation * Usage * Lift restriction for vwebp tool * [mapnik] Fix libwebp * [qt5-imageformats] Use libwebp pc files * Revert "Lift restriction for vwebp tool" This reverts commit 42e0273f654117844ae317c06cbaf521d70462e4. * [gdal] Use upstream WebP config * Revert no longer necessary changes to mapnik. * Remove unnecessary patch that git checkout didn't remove. --------- Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
10 lines
409 B
Plaintext
10 lines
409 B
Plaintext
libwebp provides CMake targets:
|
|
|
|
find_package(WebP CONFIG REQUIRED)
|
|
# basic usage
|
|
target_link_libraries(main PRIVATE WebP::webp WebP::webpdecoder WebP::webpdemux)
|
|
# for manipulating the WebP graphics format container (port feature libwebpmux)
|
|
target_link_libraries(main PRIVATE WebP::libwebpmux)
|
|
# for sharp RGB to YUV conversion
|
|
target_link_libraries(main PRIVATE WebP::sharpyuv)
|