mirror of
https://github.com/leejet/stable-diffusion.cpp.git
synced 2026-07-23 11:20:53 -05:00
feat: add webp support (#1384)
This commit is contained in:
19
thirdparty/CMakeLists.txt
vendored
19
thirdparty/CMakeLists.txt
vendored
@@ -1,3 +1,20 @@
|
||||
set(Z_TARGET zip)
|
||||
add_library(${Z_TARGET} OBJECT zip.c zip.h miniz.h)
|
||||
target_include_directories(${Z_TARGET} PUBLIC .)
|
||||
target_include_directories(${Z_TARGET} PUBLIC .)
|
||||
|
||||
if(SD_WEBP)
|
||||
set(WEBP_BUILD_ANIM_UTILS OFF)
|
||||
set(WEBP_BUILD_CWEBP OFF)
|
||||
set(WEBP_BUILD_DWEBP OFF)
|
||||
set(WEBP_BUILD_GIF2WEBP OFF)
|
||||
set(WEBP_BUILD_IMG2WEBP OFF)
|
||||
set(WEBP_BUILD_VWEBP OFF)
|
||||
set(WEBP_BUILD_WEBPINFO OFF)
|
||||
set(WEBP_BUILD_WEBPMUX OFF)
|
||||
set(WEBP_BUILD_EXTRAS OFF)
|
||||
set(WEBP_BUILD_WEBP_JS OFF)
|
||||
set(WEBP_BUILD_FUZZTEST OFF)
|
||||
set(WEBP_BUILD_LIBWEBPMUX ON)
|
||||
|
||||
add_subdirectory(libwebp EXCLUDE_FROM_ALL)
|
||||
endif()
|
||||
|
||||
1
thirdparty/libwebp
vendored
Submodule
1
thirdparty/libwebp
vendored
Submodule
Submodule thirdparty/libwebp added at 0c9546f7ef
Reference in New Issue
Block a user