mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 12:40:11 +08:00
18 lines
699 B
Diff
18 lines
699 B
Diff
|
diff --git a/cmake/FindWrapWebP.cmake b/cmake/FindWrapWebP.cmake
|
||
|
index 6cdb76b5e..5264044de 100644
|
||
|
--- a/cmake/FindWrapWebP.cmake
|
||
|
+++ b/cmake/FindWrapWebP.cmake
|
||
|
@@ -6,10 +6,10 @@
|
||
|
# paths as hints.
|
||
|
|
||
|
find_package(WebP QUIET)
|
||
|
-if(TARGET WebP::webp AND TARGET WebP::webpdemux AND TARGET WebP::webpmux)
|
||
|
+if(TARGET WebP::webp AND TARGET WebP::webpdemux AND TARGET WebP::libwebpmux)
|
||
|
set(WrapWebP_FOUND ON)
|
||
|
add_library(WrapWebP::WrapWebP INTERFACE IMPORTED)
|
||
|
- target_link_libraries(WrapWebP::WrapWebP INTERFACE WebP::webp WebP::webpdemux Webp::webpmux)
|
||
|
+ target_link_libraries(WrapWebP::WrapWebP INTERFACE WebP::webp WebP::webpdemux WebP::libwebpmux)
|
||
|
return()
|
||
|
endif()
|
||
|
|