make zstd prefer system libs too

This commit is contained in:
Green Sky
2025-04-06 20:55:14 +02:00
parent 84e983f40f
commit 65b98e0d38
4 changed files with 6 additions and 5 deletions

View File

@ -90,6 +90,8 @@
libopus
libvpx
zstd
libwebp
freetype
@ -105,7 +107,6 @@
# TODO: use package instead
"-DFETCHCONTENT_SOURCE_DIR_JSON=${nlohmann-json}" # we care about the version
"-DFETCHCONTENT_SOURCE_DIR_ZSTD=${pkgs.zstd.src}" # we dont care about the version (we use 1.4.x features)
"-DFETCHCONTENT_SOURCE_DIR_SDL3=${sdl3}"
#"-DFETCHCONTENT_SOURCE_DIR_LIBWEBP=${pkgs.libwebp.src}"
"-DTOMATO_DEP_LIBWEBP_USE_SYSTEM=ON"