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
579 B

  1. --- a/CMakeLists.txt
  2. +++ b/CMakeLists.txt
  3. @@ -116,7 +116,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_LIQ)
  10. @@ -166,10 +166,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(PNG_FOUND)
  21. INCLUDE_DIRECTORIES(${PNG_INCLUDE_DIR})