From 8414af176d732dfb8a2f93809f4361295bbfbdcb Mon Sep 17 00:00:00 2001 From: Alex Kent Hajnal Date: Fri, 17 May 2024 18:16:23 -0400 Subject: Adds WebP read support to kimgio Signed-off-by: Alex Kent Hajnal (cherry picked from commit 347a546d9dfb3210bcf907c3c622d6843d2ae9ce) --- kimgio/CMakeLists.txt | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'kimgio/CMakeLists.txt') diff --git a/kimgio/CMakeLists.txt b/kimgio/CMakeLists.txt index be10cf809..325f136f1 100644 --- a/kimgio/CMakeLists.txt +++ b/kimgio/CMakeLists.txt @@ -167,6 +167,19 @@ tde_add_kpart( ${target} ) +##### kimg_webp ################################# + +if( HAVE_WEBP ) + set( target kimg_webp ) + tde_add_kpart( ${target} + SOURCES webp.cpp + LINK tdecore-shared ${WEBP_LIBRARIES} + DESTINATION ${PLUGIN_INSTALL_DIR} + ) + install( FILES webp.kimgio DESTINATION ${SERVICES_INSTALL_DIR} ) +endif( HAVE_WEBP ) + + ##### other data ################################ install( FILES -- cgit v1.2.1