diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-07-10 14:13:21 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-07-10 14:13:21 +0100 |
commit | 418c10101093408aa370f0febf08d36032f1eb4b (patch) | |
tree | 317e2eff739a88822fbcace159cc3c2b1ce17503 /src/libstat | |
parent | d7b92e1c6518603e82134807ab4c9500aafc43fa (diff) | |
download | rspamd-418c10101093408aa370f0febf08d36032f1eb4b.tar.gz rspamd-418c10101093408aa370f0febf08d36032f1eb4b.zip |
[Minor] Redis support is now unconditional
Diffstat (limited to 'src/libstat')
-rw-r--r-- | src/libstat/CMakeLists.txt | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/libstat/CMakeLists.txt b/src/libstat/CMakeLists.txt index 0bc920616..1019a9925 100644 --- a/src/libstat/CMakeLists.txt +++ b/src/libstat/CMakeLists.txt @@ -12,12 +12,10 @@ SET(BACKENDSSRC ${CMAKE_CURRENT_SOURCE_DIR}/backends/mmaped_file.c ${CMAKE_CURRENT_SOURCE_DIR}/backends/sqlite3_backend.c) SET(CACHESSRC ${CMAKE_CURRENT_SOURCE_DIR}/learn_cache/sqlite3_cache.c) -IF(ENABLE_HIREDIS MATCHES "ON") - SET(BACKENDSSRC ${BACKENDSSRC} - ${CMAKE_CURRENT_SOURCE_DIR}/backends/redis_backend.c) - SET(CACHESSRC ${CACHESSRC} - ${CMAKE_CURRENT_SOURCE_DIR}/learn_cache/redis_cache.c) -ENDIF(ENABLE_HIREDIS MATCHES "ON") +SET(BACKENDSSRC ${BACKENDSSRC} + ${CMAKE_CURRENT_SOURCE_DIR}/backends/redis_backend.c) +SET(CACHESSRC ${CACHESSRC} + ${CMAKE_CURRENT_SOURCE_DIR}/learn_cache/redis_cache.c) SET(RSPAMD_STAT ${LIBSTATSRC} |