mirror of
https://github.com/leejet/stable-diffusion.cpp.git
synced 2026-11-10 19:06:33 +00:00
chore: make libwebp optional and support system libwebp (#1387)
Co-authored-by: leejet <leejet714@gmail.com>
This commit is contained in:
1 parent
87ecb95cbc
commit
687a81f251
2 files changed
+34
-2
No files matched your search
Vendored
+1
-1
@@ -2,7 +2,7 @@ set(Z_TARGET zip)
|
||||
add_library(${Z_TARGET} OBJECT zip.c zip.h miniz.h)
|
||||
target_include_directories(${Z_TARGET} PUBLIC .)
|
||||
|
||||
if(SD_WEBP)
|
||||
if(SD_WEBP AND NOT SD_USE_SYSTEM_WEBP)
|
||||
set(WEBP_BUILD_ANIM_UTILS OFF)
|
||||
set(WEBP_BUILD_CWEBP OFF)
|
||||
set(WEBP_BUILD_DWEBP OFF)
|
||||
|
||||
Reference in new issue
Block a user