From: Vsevolod Stakhov Date: Mon, 2 Mar 2015 14:19:19 +0000 (+0000) Subject: Fix external hiredis operations. X-Git-Tag: 0.8.2~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d04d5c7e6da7b37b8225c187f285af787fea241e;p=thirdparty%2Frspamd.git Fix external hiredis operations. --- diff --git a/CMakeLists.txt b/CMakeLists.txt index ed4e18fdd0..6f00e73c6b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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")