diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-01-03 14:21:59 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-01-03 14:21:59 +0000 |
commit | 9ac7c450c77d4b0722e0080292f20e7680b4e351 (patch) | |
tree | f0e886bca397b566e698dc6c9a944b05f19ad1a4 /CMakeLists.txt | |
parent | 755e765515eebec9215e48f46f635bb2a2d54d11 (diff) | |
download | rspamd-9ac7c450c77d4b0722e0080292f20e7680b4e351.tar.gz rspamd-9ac7c450c77d4b0722e0080292f20e7680b4e351.zip |
[Minor] Move hiredis inclusion to the proper place
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 9135266d4..a1cbac099 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -729,13 +729,6 @@ ENDIF () #Check for openssl (required for dkim) SET(HAVE_OPENSSL 1) -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") - - # Google performance tools IF(ENABLE_GPERF_TOOLS MATCHES "ON") @@ -1190,6 +1183,11 @@ 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/lgpl) IF(GLIB_COMPAT) |