1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-15 11:53:59 +02:00
openwrt-packages/libs/libgd/patches/010-webp.patch
Rosen Penev 48221441c4 libgd: update to 2.3.3
Refresh patches.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-01-15 16:57:33 -08:00

26 lines
582 B
Diff

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -134,7 +134,7 @@ else (USE_EXT_GD)
endif (ENABLE_ICONV)
IF (ENABLE_WEBP)
- FIND_PACKAGE(WEBP REQUIRED)
+ FIND_PACKAGE(WebP REQUIRED)
ENDIF (ENABLE_WEBP)
IF (ENABLE_HEIF)
@@ -195,10 +195,10 @@ else (USE_EXT_GD)
LIST(APPEND PKG_REQUIRES_PRIVATES zlib)
ENDIF(ZLIB_FOUND)
- IF(WEBP_FOUND)
- INCLUDE_DIRECTORIES(${WEBP_INCLUDE_DIR})
+ IF(WebP_FOUND)
+ INCLUDE_DIRECTORIES(${WebP_INCLUDE_DIR})
SET(HAVE_LIBWEBP 1)
- ENDIF(WEBP_FOUND)
+ ENDIF(WebP_FOUND)
IF(HEIF_FOUND)
INCLUDE_DIRECTORIES(${HEIF_INCLUDE_DIR})