aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-11-26 12:09:12 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-11-26 12:09:12 +0000
commit92c6f988cf346f018579bf0fd27a7ef5d78756eb (patch)
treee6cc43432dccd8a0a712dda71d2493641b4c9baf /CMakeLists.txt
parent1370bc0b24ab10c43b1a15877f70ae7488d851c2 (diff)
downloadrspamd-92c6f988cf346f018579bf0fd27a7ef5d78756eb.tar.gz
rspamd-92c6f988cf346f018579bf0fd27a7ef5d78756eb.zip
[Fix] Fix build with custom glib/gmime
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt8
1 files changed, 5 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index cef1d25f9..e7f93ae2c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -652,10 +652,10 @@ ELSE(ENABLE_LUAJIT MATCHES "ON")
ENDIF(ENABLE_LUAJIT MATCHES "ON")
ProcessPackage(GLIB2 LIBRARY glib-2.0 INCLUDE glib.h
- INCLUDE_SUFFIXES include/glib
+ INCLUDE_SUFFIXES include/glib include/glib-2.0
ROOT ${GLIB_ROOT_DIR} MODULES glib-2.0>=2.28)
ProcessPackage(GMODULE2 LIBRARY gmodule-2.0 INCLUDE glib.h
- INCLUDE_SUFFIXES include/glib
+ INCLUDE_SUFFIXES include/glib include/glib-2.0
ROOT ${GLIB_ROOT_DIR} MODULES gmodule-no-export-2.0>=2.28 gmodule-2.0>=2.28)
IF(ENABLE_PCRE2 MATCHES "ON")
@@ -670,7 +670,9 @@ IF(ENABLE_JEMALLOC MATCHES "ON")
ROOT ${JEMALLOC_ROOT_DIR} MODULES jemalloc)
SET(WITH_JEMALLOC "1")
ENDIF()
-ProcessPackage(GMIME LIBRARY gmime-2.6 gmime-2.4 gmime-2.2 gmime-2 INCLUDE gmime.h INCLUDE_SUFFIXES include/gmime
+ProcessPackage(GMIME LIBRARY gmime-2.6 gmime-2.4 gmime-2.2 gmime-2
+ INCLUDE gmime.h
+ INCLUDE_SUFFIXES include/gmime include/gmime-2.0 include/gmime-2.4 include/gmime-2.6
ROOT ${GMIME_ROOT_DIR} MODULES gmime-2.6 gmime-2.4 gmime-2.0)
ProcessPackage(LIBEVENT LIBRARY event INCLUDE event.h INCLUDE_SUFFIXES include/event
ROOT ${LIBEVENT_ROOT_DIR} MODULES event libevent)