Set found when using shared libwebp

This commit is contained in:
Jomar Milan
2024-12-25 14:59:30 -08:00
committed by ImperatorStorm
parent 16f6266c92
commit 93c2e82a63
2 changed files with 19 additions and 3 deletions

View File

@@ -0,0 +1,11 @@
diff -ura aseprite.orig/CMakeLists.txt aseprite.new/CMakeLists.txt
--- aseprite.orig/CMakeLists.txt 2024-12-25 12:50:48.325195746 -0800
+++ aseprite.new/CMakeLists.txt 2024-12-25 12:51:47.829384607 -0800
@@ -361,6 +361,7 @@
find_library(WEBPMUX_LIBRARY NAMES webpmux)
set(WEBP_LIBRARIES ${WEBP_LIBRARY} ${WEBPDEMUX_LIBRARY} ${WEBPMUX_LIBRARY})
find_path(WEBP_INCLUDE_DIRS NAMES decode.h PATH_SUFFIXES webp)
+ set(WEBP_FOUND ON)
else()
find_library(WEBP_LIBRARIES webp
NAMES libwebp # required for Windows