Build: Use shared webp/zstd/zlib

This commit is contained in:
Stenzek
2024-02-03 17:12:40 +10:00
parent d793dbf8b9
commit c2c3eac749
18 changed files with 320 additions and 88 deletions

View File

@ -0,0 +1,15 @@
if(ENABLE_SDL2)
find_package(SDL2 2.30.0 REQUIRED)
endif()
if(NOT WIN32 AND NOT ANDROID)
find_package(CURL REQUIRED)
find_package(Zstd REQUIRED)
find_package(WebP REQUIRED)
find_package(ZLIB REQUIRED)
endif()
if(UNIX AND NOT APPLE)
find_package(Libbacktrace)
if(NOT LIBBACKTRACE_FOUND)
message(WARNING "libbacktrace not found, crashes will not produce backtraces.")
endif()
endif()