diff options
Diffstat (limited to 'shared-libwebp.patch')
-rw-r--r-- | shared-libwebp.patch | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/shared-libwebp.patch b/shared-libwebp.patch index c4c5219220a9..bdeb0d032c5b 100644 --- a/shared-libwebp.patch +++ b/shared-libwebp.patch @@ -22,7 +22,7 @@ index af077f6..fed17ff 100644 option(ENABLE_ASEPRITE_EXE "Compile main Aseprite executable" on) option(ENABLE_MEMLEAK "Enable memory-leaks detector (only for developers)" off) option(ENABLE_NEWS "Enable the news in Home tab" on) -@@ -350,14 +353,18 @@ add_subdirectory(laf) +@@ -328,14 +351,17 @@ add_subdirectory(laf) # libwebp if(ENABLE_WEBP) # Use libwebp from Skia @@ -34,12 +34,10 @@ index af077f6..fed17ff 100644 + set(WEBP_LIBRARIES ${WEBP_LIBRARY} ${WEBPDEMUX_LIBRARY} ${WEBPMUX_LIBRARY}) + find_path(WEBP_INCLUDE_DIRS NAMES decode.h PATH_SUFFIXES webp) + else() -+ if(LAF_BACKEND STREQUAL "skia") find_library(WEBP_LIBRARIES webp NAMES libwebp # required for Windows PATHS "${SKIA_LIBRARY_DIR}" NO_DEFAULT_PATH) set(WEBP_INCLUDE_DIR "${SKIA_DIR}/third_party/externals/libwebp/src") -+ endif() - else() - set(WEBP_LIBRARIES webp webpdemux libwebpmux) - set(WEBP_INCLUDE_DIR ${LIBWEBP_DIR}/src) |