aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-06-05 10:14:47 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-06-05 10:14:47 +0100
commit790ad0ef8f86184508f7f14ccfb2a66416950010 (patch)
tree55f2ea26638a6c7593f0a85068ba698bd97c8968 /CMakeLists.txt
parenta92e55249f6e4c1fdc967f8bab27958eb9e1936d (diff)
downloadrspamd-790ad0ef8f86184508f7f14ccfb2a66416950010.tar.gz
rspamd-790ad0ef8f86184508f7f14ccfb2a66416950010.zip
[Minor] Disable libgd by default
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt11
1 files changed, 4 insertions, 7 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 790961326..7d851fd38 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -57,9 +57,8 @@ OPTION(ENABLE_SNOWBALL "Enable snowball stemmer [default: ON]"
OPTION(ENABLE_CLANG_PLUGIN "Enable clang static analysing plugin [default: OFF]" OFF)
OPTION(ENABLE_HYPERSCAN "Enable hyperscan for fast regexp processing [default: OFF]" OFF)
OPTION(ENABLE_FANN "Enable fann for neural network plugin [default: ON]" ON)
-OPTION(ENABLE_HIREDIS "Enable redis support [default: ON]" ON)
OPTION(ENABLE_PCRE2 "Enable pcre2 instead of pcre [default: OFF]" OFF)
-OPTION(ENABLE_GD "Enable libgd for images processing [default: ON]" ON)
+OPTION(ENABLE_GD "Enable libgd for images processing [default: OFF]" OFF)
OPTION(ENABLE_JEMALLOC "Build rspamd with jemalloc allocator [default: OFF]" OFF)
OPTION(ENABLE_COVERAGE "Build rspamd with code coverage options [default: OFF]" OFF)
OPTION(ENABLE_FULL_DEBUG "Build rspamd with all possible debug [default: OFF]" OFF)
@@ -1200,11 +1199,9 @@ ENDIF(NOT DESTDIR)
################################ SUBDIRS SECTION ###########################
-IF(ENABLE_HIREDIS MATCHES "ON")
- ADD_SUBDIRECTORY(contrib/hiredis)
- SET(WITH_HIREDIS 1)
- INCLUDE_DIRECTORIES(BEFORE "${CMAKE_SOURCE_DIR}/contrib/hiredis")
-ENDIF(ENABLE_HIREDIS MATCHES "ON")
+ADD_SUBDIRECTORY(contrib/hiredis)
+SET(WITH_HIREDIS 1)
+INCLUDE_DIRECTORIES(BEFORE "${CMAKE_SOURCE_DIR}/contrib/hiredis")
ADD_SUBDIRECTORY(contrib/lgpl)
IF(GLIB_COMPAT)