]> source.dussan.org Git - rspamd.git/commitdiff
Fix external hiredis operations.
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 2 Mar 2015 14:19:19 +0000 (14:19 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 2 Mar 2015 14:19:19 +0000 (14:19 +0000)
CMakeLists.txt

index ed4e18fdd0901767dfb0543afd44c93344f16b64..6f00e73c6b6a1bc1223c48593144a2ddb2cf7f04 100644 (file)
@@ -417,6 +417,9 @@ IF(ENABLE_HIREDIS MATCHES "ON")
        # Try to find hiredis library
        ProcessPackage(HIREDIS hiredis libhiredis)
 ENDIF(ENABLE_HIREDIS MATCHES "ON")
+IF(LIBHIREDIS_INCLUDE)
+       INCLUDE_DIRECTORIES("${LIBHIREDIS_INCLUDE}")
+ENDIF(LIBHIREDIS_INCLUDE)
 
 ProcessPackage(GMIME2 gmime-2.6 gmime-2.4 gmime-2.0)
 IF(GMIME2_VERSION VERSION_GREATER "2.4.0")