diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-01-23 13:53:49 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-01-23 13:53:49 +0000 |
commit | 9a888eb2ce3880b8ccbd3ab59cf632ebef760979 (patch) | |
tree | 73000ae8463331bede8eacb6f42a7ded57444c22 /utils/CMakeLists.txt | |
parent | 6c6cc14bcb35726324fa084f2f50bd5157e6db03 (diff) | |
download | rspamd-9a888eb2ce3880b8ccbd3ab59cf632ebef760979.tar.gz rspamd-9a888eb2ce3880b8ccbd3ab59cf632ebef760979.zip |
[Minor] Do not build rspamd utils by default
Diffstat (limited to 'utils/CMakeLists.txt')
-rw-r--r-- | utils/CMakeLists.txt | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/utils/CMakeLists.txt b/utils/CMakeLists.txt index 81430d1e7..8bc0ff604 100644 --- a/utils/CMakeLists.txt +++ b/utils/CMakeLists.txt @@ -22,12 +22,14 @@ MACRO(ADD_UTIL NAME) TARGET_LINK_LIBRARIES("${NAME}" ${RSPAMD_REQUIRED_LIBRARIES}) ENDMACRO() -ADD_UTIL(rspamd-http-server ${UTILSERVERSRC}) -ADD_UTIL(rspamd-http-bench ${UTILBENCHSRC}) -ADD_UTIL(rspamd-received-bench ${RECVBENCHSRC}) -ADD_UTIL(rspamd-ctype-bench ${CTYPEBENCHSRC}) -ADD_UTIL(rspamd-base64 ${BASE64SRC}) -ADD_UTIL(rspamd-mime-tool ${MIMESRC}) +IF (ENABLE_UTILS MATCHES "ON") + ADD_UTIL(rspamd-http-server ${UTILSERVERSRC}) + ADD_UTIL(rspamd-http-bench ${UTILBENCHSRC}) + ADD_UTIL(rspamd-received-bench ${RECVBENCHSRC}) + ADD_UTIL(rspamd-ctype-bench ${CTYPEBENCHSRC}) + ADD_UTIL(rspamd-base64 ${BASE64SRC}) + ADD_UTIL(rspamd-mime-tool ${MIMESRC}) +ENDIF() # Redirector IF (ENABLE_REDIRECTOR MATCHES "ON") |