mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-18 19:57:49 +08:00
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)
|