From d04d5c7e6da7b37b8225c187f285af787fea241e Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Mon, 2 Mar 2015 14:19:19 +0000 Subject: [PATCH] Fix external hiredis operations. --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index ed4e18fdd..6f00e73c6 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") -- 2.39.5