summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-11-26 12:38:36 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-11-26 12:38:36 +0000
commit29ec64ccf5ea7c35b15640279b8d9ee6ce207102 (patch)
tree379c810664de82e59ae5e5266dcc06183be13cae /CMakeLists.txt
parent2bc1d15750106f32c5830b2548e87d156d23210f (diff)
downloadrspamd-29ec64ccf5ea7c35b15640279b8d9ee6ce207102.tar.gz
rspamd-29ec64ccf5ea7c35b15640279b8d9ee6ce207102.zip
[Minor] Another stupid workaround
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e5cb74698..28019d77d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -674,6 +674,9 @@ ProcessPackage(GMIME LIBRARY gmime-2.6 gmime-2.4 gmime-2.2 gmime-2
INCLUDE gmime/gmime.h
INCLUDE_SUFFIXES include/gmime include/gmime-2.0 include/gmime-2.4 include/gmime-2.6
ROOT ${GMIME_ROOT_DIR} MODULES gmime-2.6 gmime-2.4 gmime-2.0)
+IF(GMIME_ROOT_DIR)
+ LIST(APPEND RSPAMD_REQUIRED_LIBRARIES "-lz")
+ENDIF()
ProcessPackage(LIBEVENT LIBRARY event INCLUDE event.h INCLUDE_SUFFIXES include/event
ROOT ${LIBEVENT_ROOT_DIR} MODULES event libevent)
ProcessPackage(SQLITE3 LIBRARY sqlite3 INCLUDE sqlite3.h INCLUDE_SUFFIXES include/sqlite3 include/sqlite