diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-04-10 15:21:59 -0700 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-04-10 15:21:59 -0700 |
commit | a17cfff9927ed129286be81c05990973139573d1 (patch) | |
tree | e28e33f0814da70063e311d4be623efb2cf7a0d6 /CMakeLists.txt | |
parent | ed026e92854e95605f44c8469ce9fc766956386f (diff) | |
download | rspamd-a17cfff9927ed129286be81c05990973139573d1.tar.gz rspamd-a17cfff9927ed129286be81c05990973139573d1.zip |
Use libucl as git submodule.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 48357714a..4a5eb0f9a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -723,6 +723,7 @@ CHECK_INCLUDE_FILES(poll.h HAVE_POLL_H) CHECK_INCLUDE_FILES(readpassphrase.h HAVE_READPASSPHRASE_H) CHECK_INCLUDE_FILES(termios.h HAVE_TERMIOS_H) CHECK_INCLUDE_FILES(paths.h HAVE_PATHS_H) +CHECK_INCLUDE_FILES(ctype.h HAVE_CTYPE_H) CHECK_INCLUDE_FILES(sys/sendfile.h HAVE_SYS_SENDFILE_H) CHECK_INCLUDE_FILES(linux/falloc.h HAVE_LINUX_FALLOC_H) CHECK_INCLUDE_FILES(sys/eventfd.h HAVE_SYS_EVENTFD_H) @@ -893,13 +894,15 @@ IF(NOT HIREDIS_FOUND) INCLUDE_DIRECTORIES("${CMAKE_CURRENT_SOURCE_DIR}/contrib/hiredis") ENDIF(NOT HIREDIS_FOUND) +ADD_DEFINITIONS(-DHAVE_CONFIG_H) + ADD_SUBDIRECTORY(contrib/xxhash) ADD_SUBDIRECTORY(contrib/http-parser) ADD_SUBDIRECTORY(contrib/libottery) ADD_SUBDIRECTORY(src/lua) ADD_SUBDIRECTORY(src/json) ADD_SUBDIRECTORY(src/cdb) -ADD_SUBDIRECTORY(src/ucl) +ADD_SUBDIRECTORY(src/ucl/cmake) ADD_SUBDIRECTORY(src) ADD_SUBDIRECTORY(src/client) |