diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-05-11 19:11:05 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-05-11 19:11:05 +0400 |
commit | f7595acb30071eb5001b629f47f5606ea07e2a5a (patch) | |
tree | c4d588ff6e3e448b654ee1f7f628ea1757efb319 /lib | |
parent | bc953ee7602b6a4278fc5c13a83ad570444f5cc6 (diff) | |
download | rspamd-f7595acb30071eb5001b629f47f5606ea07e2a5a.tar.gz rspamd-f7595acb30071eb5001b629f47f5606ea07e2a5a.zip |
Fix dependencies in cmake.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/CMakeLists.txt | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt index 951551e62..2fdf37904 100644 --- a/lib/CMakeLists.txt +++ b/lib/CMakeLists.txt @@ -64,4 +64,9 @@ SET_TARGET_PROPERTIES(rspamdserver PROPERTIES LINKER_LANGUAGE C) SET_TARGET_PROPERTIES(rspamdserver PROPERTIES COMPILE_FLAGS "-DRSPAMD_LIB") TARGET_LINK_LIBRARIES(rspamdserver rspamd_lua) TARGET_LINK_LIBRARIES(rspamdserver rspamd_json) -TARGET_LINK_LIBRARIES(rspamdserver rspamd_cdb)
\ No newline at end of file +TARGET_LINK_LIBRARIES(rspamdserver rspamd_cdb) + +ADD_CUSTOM_TARGET(genmodules + COMMAND ../utils/gen-modules.sh ${PLUGINSSRC} + WORKING_DIRECTORY src) +ADD_DEPENDENCIES(rspamdserver genmodules)
\ No newline at end of file |