Add: Support Zstandard(zstd) savegame compression

(cherry picked from commit 6f0aeaf2c5436550c93205e704624957e9abc969)
This commit is contained in:
dP
2021-03-01 01:05:50 +03:00
committed by Jonathan G Rennison
parent 0a31a3b923
commit b284d34277
8 changed files with 234 additions and 6 deletions

View File

@@ -97,6 +97,7 @@ find_package(Threads REQUIRED)
find_package(ZLIB)
find_package(LibLZMA)
find_package(LZO)
find_package(ZSTD)
find_package(PNG)
if(NOT WIN32)
@@ -291,6 +292,7 @@ link_package(PNG TARGET PNG::PNG ENCOURAGED)
link_package(ZLIB TARGET ZLIB::ZLIB ENCOURAGED)
link_package(LIBLZMA TARGET LibLZMA::LibLZMA ENCOURAGED)
link_package(LZO)
link_package(ZSTD TARGET ZSTD::ZSTD ENCOURAGED)
if(NOT OPTION_DEDICATED)
link_package(Fluidsynth)