build: add libzstd dependency

This commit is contained in:
Andrei Alexeyev 2021-03-22 17:43:37 +02:00
parent 41dc16993b
commit 1a5cb26870
No known key found for this signature in database
GPG key ID: 72D26128040B9690
2 changed files with 3 additions and 0 deletions

View file

@ -21,6 +21,7 @@ Dependencies
- libpng >= 1.5.0
- libwebpdecoder >= 0.5 or libwebp >= 0.5
- libzip >= 1.2
- libzstd >= 1.3.0
- opusfile
- zlib

View file

@ -141,6 +141,7 @@ dep_zip = dependency('libzip', version : '>=1.2', required : f
dep_zlib = dependency('zlib', required : true, static : static, fallback : ['zlib', 'zlib_dep'])
dep_crypto = dependency('libcrypto', required : false, static : static)
dep_gamemode = dependency('gamemode', required : false, static : static)
dep_zstd = dependency('libzstd', version : '>=1.3.0', required : true, static : static)
dep_m = cc.find_library('m', required : false)
@ -159,6 +160,7 @@ taisei_deps = [
dep_png,
dep_sdl2,
dep_zlib,
dep_zstd,
# don't add glad here
]