aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorDuncan Bellamy <dunk@denkimushi.com>2021-05-24 14:17:34 +0100
committerDuncan Bellamy <dunk@denkimushi.com>2021-05-29 09:02:05 +0100
commitab72e9d492987ff27a480bdc5011b447c2ada520 (patch)
treed8ed9e63be652f4c1c0c733280b6873f5b4610a2 /CMakeLists.txt
parentab8882972d32c737afeda1902f96879f75f0a512 (diff)
downloadrspamd-ab72e9d492987ff27a480bdc5011b447c2ada520.tar.gz
rspamd-ab72e9d492987ff27a480bdc5011b447c2ada520.zip
[Minor] change headers for zstd depending on bundled or system used
follow on patch from #3764
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a110f14f7..b46de3f4d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -633,6 +633,7 @@ IF(SYSTEM_ZSTD MATCHES "OFF")
ELSE()
ProcessPackage(LIBZSTD LIBRARY zstd INCLUDE zstd.h
ROOT ${LIBZSTD_ROOT_DIR} MODULES zstd)
+ ADD_DEFINITIONS(-DSYS_ZSTD)
ENDIF()
IF(ENABLE_SNOWBALL MATCHES "ON")
ADD_SUBDIRECTORY(contrib/snowball)