Add Zstd support through meson (#2293)

* Add Zstd support through meson

* Add libzstd-dev to abitest
This commit is contained in:
Jean-Francois Simoneau authored and GitHub committed 2025-12-13 23:55:58 -05:00
1 parent b7097f1386
commit 2de4c59bc2
3 files changed
+8

No files matched your search

+6
View File
@@ -74,6 +74,12 @@ if brotli_found_all
args += '-DCPPHTTPLIB_BROTLI_SUPPORT'
endif
zstd_dep = dependency('libzstd', required: get_option('zstd'))
if zstd_dep.found()
deps += zstd_dep
args += '-DCPPHTTPLIB_ZSTD_SUPPORT'
endif
async_ns_opt = get_option('non_blocking_getaddrinfo')
if host_machine.system() == 'windows'