diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-01-10 23:51:32 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-01-10 23:51:32 +0000 |
commit | 58944df29957ebeee2fcdcbfd829d198c3ffdf20 (patch) | |
tree | 720c0f2909aa9feb5f85dd01249211bdf59b3b00 /src/libstat/CMakeLists.txt | |
parent | dd1af5b84e7bb401dbe9af004da9f4b49ed97b23 (diff) | |
download | rspamd-58944df29957ebeee2fcdcbfd829d198c3ffdf20.tar.gz rspamd-58944df29957ebeee2fcdcbfd829d198c3ffdf20.zip |
Add skeleton of redis cache
Diffstat (limited to 'src/libstat/CMakeLists.txt')
-rw-r--r-- | src/libstat/CMakeLists.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/libstat/CMakeLists.txt b/src/libstat/CMakeLists.txt index 4a1a848bb..11f48bdc0 100644 --- a/src/libstat/CMakeLists.txt +++ b/src/libstat/CMakeLists.txt @@ -9,11 +9,15 @@ SET(CLASSIFIERSSRC ${CMAKE_CURRENT_SOURCE_DIR}/classifiers/bayes.c) 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(CACHESSRC ${CMAKE_CURRENT_SOURCE_DIR}/learn_cache/sqlite3_cache.c) + SET(RSPAMD_STAT ${LIBSTATSRC} ${TOKENIZERSSRC} |