diff options
Diffstat (limited to 'src/rspamadm/CMakeLists.txt')
-rw-r--r-- | src/rspamadm/CMakeLists.txt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/rspamadm/CMakeLists.txt b/src/rspamadm/CMakeLists.txt new file mode 100644 index 000000000..ba9814f8d --- /dev/null +++ b/src/rspamadm/CMakeLists.txt @@ -0,0 +1,13 @@ +SET(RSPAMADMSRC rspamadm.c commands.c) + +ADD_EXECUTABLE(rspamadm ${RSPAMADMSRC}) +TARGET_LINK_LIBRARIES(rspamadm rspamd-server) +TARGET_LINK_LIBRARIES(rspamadm ${RSPAMD_REQUIRED_LIBRARIES}) +TARGET_LINK_LIBRARIES(rspamadm stemmer) +TARGET_LINK_LIBRARIES(rspamadm rspamd-actrie) + +IF (NOT DEBIAN_BUILD) + SET_TARGET_PROPERTIES(rspamadm PROPERTIES VERSION ${RSPAMD_VERSION}) +ENDIF (NOT DEBIAN_BUILD) + +INSTALL(TARGETS rspamadm RUNTIME DESTINATION bin)
\ No newline at end of file |