aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-11-12 14:36:48 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-11-12 14:36:48 +0000
commit7ea334cd83f09d7c7ad7f1795cbf702fd137979c (patch)
treeeb6a52d6c639ff31f5921c8cbcdef1a4f1ef1857 /CMakeLists.txt
parent620bcca373ef162c6597cf818a4763722cea8853 (diff)
downloadrspamd-7ea334cd83f09d7c7ad7f1795cbf702fd137979c.tar.gz
rspamd-7ea334cd83f09d7c7ad7f1795cbf702fd137979c.zip
Add libmagic dependency
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a752dd0c2..c5e762567 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -617,6 +617,8 @@ ProcessPackage(ICONV LIBRARY iconv libiconv libiconv-2 c INCLUDE iconv.h INCLUDE
ROOT ${ICONV_ROOT_DIR} MODULES iconv)
ProcessPackage(OPENSSL LIBRARY crypto INCLUDE err.h INCLUDE_SUFFIXES include/openssl
ROOT ${OPENSSL_ROOT_DIR} MODULES openssl)
+ProcessPackage(MAGIC LIBRARY magic INCLUDE magic.h INCLUDE_SUFFIXES include/libmagic
+ ROOT ${LIBMAGIC_ROOT_DIR} MODULES magic)
#Check for openssl (required for dkim)
IF(WITH_OPENSSL)