From: Gianfranco Costamagna <locutusofborg@debian.org>
Date: Sun, 31 May 2026 06:24:49 -0700
Subject: Install also the tools with the upstream build system

Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1023482
Forwarded: no
Last-Update: 2023-09-15
---
 CMakeLists.txt | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 37bd0a5..2a00389 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -758,6 +758,7 @@ if(WEBP_BUILD_ANIM_UTILS)
     webpdemux
     ${WEBP_DEP_GIF_LIBRARIES})
   target_include_directories(anim_diff PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/src)
+  install(TARGETS anim_diff RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
 
   # anim_dump
   include_directories(${WEBP_DEP_IMG_INCLUDE_DIRS} ${WEBP_DEP_GIF_INCLUDE_DIRS})
@@ -774,6 +775,7 @@ if(WEBP_BUILD_ANIM_UTILS)
     webpdemux
     ${WEBP_DEP_GIF_LIBRARIES})
   target_include_directories(anim_dump PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/src)
+  install(TARGETS anim_dump RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
 endif()
 
 if(WEBP_BUILD_FUZZTEST)
