diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-12-07 15:24:41 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-12-07 15:24:41 +0000 |
commit | 813685c8e0fa11bb1458823d396079c9c3470c7a (patch) | |
tree | e621c6e36a94bc5dfdf621af6db56246d4e13aba /src/rspamadm | |
parent | d1ec922203c121e45930b82d64900ec0d8f9ef13 (diff) | |
download | rspamd-813685c8e0fa11bb1458823d396079c9c3470c7a.tar.gz rspamd-813685c8e0fa11bb1458823d396079c9c3470c7a.zip |
Add hyperscan initialization
Diffstat (limited to 'src/rspamadm')
-rw-r--r-- | src/rspamadm/CMakeLists.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/rspamadm/CMakeLists.txt b/src/rspamadm/CMakeLists.txt index 7d693c388..585e42628 100644 --- a/src/rspamadm/CMakeLists.txt +++ b/src/rspamadm/CMakeLists.txt @@ -20,5 +20,9 @@ TARGET_LINK_LIBRARIES(rspamadm rspamd-actrie) IF (NOT DEBIAN_BUILD) SET_TARGET_PROPERTIES(rspamadm PROPERTIES VERSION ${RSPAMD_VERSION}) ENDIF (NOT DEBIAN_BUILD) +IF (ENABLE_HYPERSCAN MATCHES "ON") + TARGET_LINK_LIBRARIES(rspamadm hs) + SET_TARGET_PROPERTIES(rspamadm PROPERTIES LINKER_LANGUAGE CXX) +ENDIF () -INSTALL(TARGETS rspamadm RUNTIME DESTINATION bin)
\ No newline at end of file +INSTALL(TARGETS rspamadm RUNTIME DESTINATION bin) |