From: Petr Vaněk Date: Wed, 6 Apr 2022 20:35:14 +0000 (+0200) Subject: Search for libzstd module X-Git-Tag: 3.3~323^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=0baeea867e833b330157c204c559476bb252a5c0;p=rspamd.git Search for libzstd module Default pkg-config name of zstd is libzstd.pc. Let's add it to the MODULES list. --- diff --git a/CMakeLists.txt b/CMakeLists.txt index d6f5df3c2..76d52130d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -597,7 +597,7 @@ IF(SYSTEM_ZSTD MATCHES "OFF") ADD_SUBDIRECTORY(contrib/zstd) ELSE() ProcessPackage(LIBZSTD LIBRARY zstd INCLUDE zstd.h - ROOT ${LIBZSTD_ROOT_DIR} MODULES zstd) + ROOT ${LIBZSTD_ROOT_DIR} MODULES zstd libzstd) ADD_DEFINITIONS(-DSYS_ZSTD) ENDIF() IF(ENABLE_SNOWBALL MATCHES "ON")