diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-12-19 14:35:31 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-12-19 14:35:31 +0000 |
commit | b26afb57c80333a9b5a68a31d613bed32e2c6796 (patch) | |
tree | ae096cc7ae57ae9ec9658ca3c0c2bf4e6ca949a1 /CMakeLists.txt | |
parent | 123886d49937ccefc547079f57ca4ef2f11bc312 (diff) | |
download | rspamd-b26afb57c80333a9b5a68a31d613bed32e2c6796.tar.gz rspamd-b26afb57c80333a9b5a68a31d613bed32e2c6796.zip |
Start total rework of fuzzy_storage.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 30 |
1 files changed, 1 insertions, 29 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index d599973a8..154e503f2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -404,11 +404,6 @@ ELSE(NOT LUA_FOUND) INCLUDE_DIRECTORIES("${LUA_INCLUDE_DIR}") ENDIF(NOT LUA_FOUND) -IF(ENABLE_SQLITE MATCHES "ON") - # Find optional sqlite3 support - ProcessPackage(SQLITE sqlite3>=3.6.0) -ENDIF(ENABLE_SQLITE MATCHES "ON") - #Check for openssl (required for dkim) IF(OPENSSL_FOUND) SET(HAVE_OPENSSL 1) @@ -566,30 +561,7 @@ IF(ENABLE_URL_INCLUDE MATCHES "ON") ENDIF(LIBFETCH_LIBRARY) ENDIF(ENABLE_URL_INCLUDE MATCHES "ON") -# Find liblmdb -FIND_LIBRARY(LIBLMDB_LIBRARY NAMES lmdb PATHS PATH_SUFFIXES lib64 lib - PATHS - ~/Library/Frameworks - /Library/Frameworks - /usr/local - /usr - /sw - /opt/local - /opt/csw - /opt - DOC "Path where the liblmdb library can be found") -IF(LIBLMDB_LIBRARY) - FIND_PATH(LIBLMDB_INCLUDE lmdb.h PATHS /opt/include - /usr/include - /usr/local/include - DOC "Path where the lmdb header files can be found") - - GET_FILENAME_COMPONENT(LIBLMDB_PATH "${LIBLMDB_LIBRARY}" PATH) - INCLUDE_DIRECTORIES("${LIBLMDB_INCLUDE}") - LINK_DIRECTORIES("${LIBLMDB_PATH}") -ELSE(LIBLMDB_LIBRARY) - MESSAGE(FATAL "Liblmdb is required for rspamd") -ENDIF(LIBLMDB_LIBRARY) +ProcessPackage(SQLITE sqlite3>=3.6.0) # Static build |