aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2009-02-26 18:09:28 +0300
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2009-02-26 18:09:28 +0300
commitcfb5348f75790ef694edd5a9c131890eeceec204 (patch)
tree55c6bc5ff03a346ced6008dcae0a70ba6b36fb32 /CMakeLists.txt
parent5d77f4552b6e39ab1072d2c91b219dac2498ac88 (diff)
downloadrspamd-cfb5348f75790ef694edd5a9c131890eeceec204.tar.gz
rspamd-cfb5348f75790ef694edd5a9c131890eeceec204.zip
* Completely rewrite and reorganize perl API
* Add documentation for Mail::Rspamd * Add install targets to cmake --HG-- rename : perl/rspamd.pm => perl/Rspamd.pm rename : perl/rspamd.xs => perl/Rspamd.xs
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7a1031b93..853169bff 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -308,3 +308,7 @@ SET_TARGET_PROPERTIES(utils/url-extracter PROPERTIES COMPILE_FLAGS ${PERL_CFLAGS
TARGET_LINK_LIBRARIES(utils/url-extracter ${GLIB2_LIBRARIES})
TARGET_LINK_LIBRARIES(utils/url-extracter event)
TARGET_LINK_LIBRARIES(utils/url-extracter ${GMIME2_LIBRARIES})
+
+INSTALL(TARGETS rspamd utils/url-extracter RUNTIME DESTINATION bin)
+INSTALL(PROGRAMS rspamc.pl DESTINATION bin RENAME rspamc)
+INSTALL(CODE "EXECUTE_PROCESS(COMMAND make install WORKING_DIRECTORY perl)")