telepathy-qt: Fix build with newer glib

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Jun 6 13:49:56 UTC 2022


Module: telepathy-qt
Branch: master
Commit: 188dece432d090809c5ad88a91cd573c5af61c09
URL:    http://cgit.freedesktop.org/telepathy/telepathy-qt/commit/?id=188dece432d090809c5ad88a91cd573c5af61c09

Author: Albert Astals Cid <aacid at kde.org>
Date:   Mon Jun  6 09:44:53 2022 +0200

Fix build with newer glib

gunixconnection.h is now at /usr/include/glib-2.0/gio/gunixconnection.h

---

 cmake/modules/FindGIOUnix.cmake | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmake/modules/FindGIOUnix.cmake b/cmake/modules/FindGIOUnix.cmake
index 263c093e..7f5513b3 100644
--- a/cmake/modules/FindGIOUnix.cmake
+++ b/cmake/modules/FindGIOUnix.cmake
@@ -21,7 +21,7 @@ pkg_check_modules(PC_LibGIOUnix gio-unix-2.0)
 find_path(GIOUNIX_MAIN_INCLUDE_DIR
           NAMES gio/gunixconnection.h
           HINTS ${PC_LibGIOUnix_INCLUDEDIR}
-          PATH_SUFFIXES gio-unix-2.0)
+          PATH_SUFFIXES gio-unix-2.0 glib-2.0)
 
 set(GIOUNIX_INCLUDE_DIR "${GIOUNIX_MAIN_INCLUDE_DIR}")
 



More information about the telepathy-commits mailing list