aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmime/CMakeLists.txt
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-01-16 16:42:48 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-01-16 16:42:48 +0000
commit343b21dd6bdc9ad877884b6bca69c190218ba533 (patch)
tree83a3895f314a28a9a84de98dc57fc45037f42ad6 /src/libmime/CMakeLists.txt
parent61de440f6eea0d12c96ea7780c9ee560fd846955 (diff)
downloadrspamd-343b21dd6bdc9ad877884b6bca69c190218ba533.tar.gz
rspamd-343b21dd6bdc9ad877884b6bca69c190218ba533.zip
Fix static build.
Diffstat (limited to 'src/libmime/CMakeLists.txt')
-rw-r--r--src/libmime/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libmime/CMakeLists.txt b/src/libmime/CMakeLists.txt
index 368597df6..c9c4318b8 100644
--- a/src/libmime/CMakeLists.txt
+++ b/src/libmime/CMakeLists.txt
@@ -15,6 +15,7 @@ ENDIF(NOT DEBIAN_BUILD)
SET_TARGET_PROPERTIES(rspamd-mime PROPERTIES LINKER_LANGUAGE C)
SET_TARGET_PROPERTIES(rspamd-mime PROPERTIES COMPILE_FLAGS "-DRSPAMD_LIB")
TARGET_LINK_LIBRARIES(rspamd-mime rspamd-server)
+TARGET_LINK_LIBRARIES(rspamd-mime rspamd-stat)
TARGET_LINK_LIBRARIES(rspamd-mime rspamd-util)
IF(CMAKE_COMPILER_IS_GNUCC)
SET_TARGET_PROPERTIES(rspamd-mime PROPERTIES COMPILE_FLAGS "-DRSPAMD_LIB -fno-strict-aliasing")