diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-02-21 18:35:54 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-02-21 18:35:54 +0000 |
commit | d0f501c2309b84c3d05a68d82f87c5af165b34f4 (patch) | |
tree | ad3d68d5aa2148472c8bde91bfe05954bb62e2c0 /contrib/cdb/CMakeLists.txt | |
parent | f1c22fe6f3a7218c67556d5468c34fac00b0ed7b (diff) | |
download | rspamd-d0f501c2309b84c3d05a68d82f87c5af165b34f4.tar.gz rspamd-d0f501c2309b84c3d05a68d82f87c5af165b34f4.zip |
Move cdb to contrib as well.
Diffstat (limited to 'contrib/cdb/CMakeLists.txt')
-rw-r--r-- | contrib/cdb/CMakeLists.txt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/contrib/cdb/CMakeLists.txt b/contrib/cdb/CMakeLists.txt new file mode 100644 index 000000000..7f3850bc5 --- /dev/null +++ b/contrib/cdb/CMakeLists.txt @@ -0,0 +1,13 @@ +# CDB support makefile +SET(CDBSRC cdb_init.c + cdb_find.c + cdb_make.c) + +ADD_LIBRARY(rspamd-cdb ${LINK_TYPE} ${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 |