aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/cdb
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-04-27 10:31:25 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-04-27 10:31:25 +0100
commitfc95ba48638d25b92de04a756ebf2cc22bcd3260 (patch)
treef72c9a38595dff41cbdc2a4c985548b777904331 /contrib/cdb
parentbb974d3e3f825b7ca9b9394acac683ee7c567867 (diff)
downloadrspamd-fc95ba48638d25b92de04a756ebf2cc22bcd3260.tar.gz
rspamd-fc95ba48638d25b92de04a756ebf2cc22bcd3260.zip
Fix some contrib libraries.
Diffstat (limited to 'contrib/cdb')
-rw-r--r--contrib/cdb/CMakeLists.txt9
1 files changed, 2 insertions, 7 deletions
diff --git a/contrib/cdb/CMakeLists.txt b/contrib/cdb/CMakeLists.txt
index 7f3850bc5..6b5b676dc 100644
--- a/contrib/cdb/CMakeLists.txt
+++ b/contrib/cdb/CMakeLists.txt
@@ -3,11 +3,6 @@ SET(CDBSRC cdb_init.c
cdb_find.c
cdb_make.c)
-ADD_LIBRARY(rspamd-cdb ${LINK_TYPE} ${CDBSRC})
+ADD_LIBRARY(rspamd-cdb STATIC ${CDBSRC})
SET_TARGET_PROPERTIES(rspamd-cdb PROPERTIES VERSION ${RSPAMD_VERSION})
-SET_TARGET_PROPERTIES(rspamd-cdb PROPERTIES COMPILE_FLAGS "-DRSPAMD_LIB")
-IF(NO_SHARED MATCHES "OFF")
- INSTALL(TARGETS rspamd-cdb
- LIBRARY DESTINATION ${LIBDIR}
- PUBLIC_HEADER DESTINATION ${INCLUDEDIR})
-ENDIF(NO_SHARED MATCHES "OFF") \ No newline at end of file
+SET_TARGET_PROPERTIES(rspamd-cdb PROPERTIES COMPILE_FLAGS "-DRSPAMD_LIB") \ No newline at end of file