vcpkg/ports/libwebp/0003-always-mux.patch
JonLiu1993 8e0a801c62
[libwebp] update to 1.2.1 (#20152)
* [libwebp] update to 1.2.1

* update version

* Convert patch CRLF to LF

* update version

* update patch and portfile,cmake

* update version

* update portifile.cmake

* update portfile.cmake

* update version

* update portfile.cmake

* update version

* revert portfile.cmake

* update version

* add trailing line break

* update version
2021-09-27 17:51:56 -07:00

14 lines
510 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index b0ae7d5..5813c06 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -472,7 +472,7 @@ if(WEBP_BUILD_CWEBP)
install(TARGETS cwebp RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
endif()
-if(WEBP_BUILD_LIBWEBPMUX)
+if(WEBP_BUILD_LIBWEBPMUX OR WEBP_BUILD_GIF2WEBP OR WEBP_BUILD_IMG2WEBP OR TRUE)
parse_makefile_am(${CMAKE_CURRENT_SOURCE_DIR}/src/mux "WEBP_MUX_SRCS" "")
add_library(libwebpmux ${WEBP_MUX_SRCS})
target_link_libraries(libwebpmux webp)