diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index e7a361d7c..0d1ba5aac 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -196,7 +196,10 @@ list(APPEND EXTRA_LIBS gnutls) # Check for zlib find_package(ZLIB REQUIRED) -add_definitions(-DHAVE_ZLIB) + +# Check for zstd +include(FindPkgConfig) +pkg_check_modules(LIBZSTD REQUIRED libzstd) # Check for iconv find_package(Iconv) |