From 0b9dbcc818d05b6862c8a557e85c6d77036fe67d Mon Sep 17 00:00:00 2001
From: Vsevolod Stakhov <vsevolod@highsecure.ru>
Date: Sat, 26 Nov 2016 13:21:51 +0000
Subject: [Minor] Gmime like requires whole world to be used

---
 CMakeLists.txt | 3 +++
 1 file changed, 3 insertions(+)

(limited to 'CMakeLists.txt')

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9398bd78a..fd7bbc6ec 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -660,6 +660,9 @@ ProcessPackage(GMODULE2 LIBRARY gmodule-2.0 INCLUDE glib.h
 ProcessPackage(GOBJECT LIBRARY gobject-2.0 INCLUDE glib.h
 	INCLUDE_SUFFIXES include/glib include/glib-2.0
 	ROOT ${GLIB_ROOT_DIR} MODULES gobject-no-export-2.0>=2.28 gobject-2.0>=2.28)
+ProcessPackage(GIO LIBRARY gio-2.0 INCLUDE glib.h
+	INCLUDE_SUFFIXES include/glib include/glib-2.0
+	ROOT ${GLIB_ROOT_DIR} MODULES gio-no-export-2.0>=2.28 gio-2.0>=2.28)
 IF(GLIB_ROOT_DIR)
 	LIST(APPEND RSPAMD_REQUIRED_LIBRARIES "-lpthread")
 	LIST(APPEND RSPAMD_REQUIRED_LIBRARIES "-lffi")
-- 
cgit v1.2.3