You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

25 lines
582 B

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -118,7 +118,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)
@@ -179,10 +179,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})