aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorPetr Vaněk <arkamar@atlas.cz>2022-04-06 22:35:14 +0200
committerPetr Vaněk <arkamar@atlas.cz>2022-04-06 22:38:30 +0200
commit0baeea867e833b330157c204c559476bb252a5c0 (patch)
tree217313a0b3d244adde75b1533f348e3ea450381f /CMakeLists.txt
parentbaa1b3c57469413607a4b3745d4fe32b5506111a (diff)
downloadrspamd-0baeea867e833b330157c204c559476bb252a5c0.tar.gz
rspamd-0baeea867e833b330157c204c559476bb252a5c0.zip
Search for libzstd module
Default pkg-config name of zstd is libzstd.pc. Let's add it to the MODULES list.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
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")