aboutsummaryrefslogtreecommitdiffstats
path: root/src/rspamadm/CMakeLists.txt
blob: ba9814f8d6b61202963508a9831ee87c78c3c104 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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)