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

  1. --- a/CMakeLists.txt
  2. +++ b/CMakeLists.txt
  3. @@ -118,7 +118,7 @@ else (USE_EXT_GD)
  4. endif (ENABLE_ICONV)
  5. IF (ENABLE_WEBP)
  6. - FIND_PACKAGE(WEBP REQUIRED)
  7. + FIND_PACKAGE(WebP REQUIRED)
  8. ENDIF (ENABLE_WEBP)
  9. IF (ENABLE_HEIF)
  10. @@ -179,10 +179,10 @@ else (USE_EXT_GD)
  11. LIST(APPEND PKG_REQUIRES_PRIVATES zlib)
  12. ENDIF(ZLIB_FOUND)
  13. - IF(WEBP_FOUND)
  14. - INCLUDE_DIRECTORIES(${WEBP_INCLUDE_DIR})
  15. + IF(WebP_FOUND)
  16. + INCLUDE_DIRECTORIES(${WebP_INCLUDE_DIR})
  17. SET(HAVE_LIBWEBP 1)
  18. - ENDIF(WEBP_FOUND)
  19. + ENDIF(WebP_FOUND)
  20. IF(HEIF_FOUND)
  21. INCLUDE_DIRECTORIES(${HEIF_INCLUDE_DIR})