28 lines
1.0 KiB
Diff
28 lines
1.0 KiB
Diff
From 44b7d6baed8f85cc516fedd6f2f5628efdef5707 Mon Sep 17 00:00:00 2001
|
|
From: peijiankang <peijiankang@kylinos.cn>
|
|
Date: Wed, 13 Jul 2022 10:29:39 +0800
|
|
Subject: [PATCH] Replace gunixconnection.h file in gio-unix include dir check
|
|
|
|
---
|
|
cmake/find-modules/FindGLIB.cmake | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/cmake/find-modules/FindGLIB.cmake b/cmake/find-modules/FindGLIB.cmake
|
|
index 0564b8d..014ef1c 100644
|
|
--- a/cmake/find-modules/FindGLIB.cmake
|
|
+++ b/cmake/find-modules/FindGLIB.cmake
|
|
@@ -101,8 +101,8 @@ foreach (_component ${GLIB_FIND_COMPONENTS})
|
|
elseif (${_component} STREQUAL "gio-unix")
|
|
pkg_check_modules(GIO_UNIX gio-unix-2.0)
|
|
find_path(GLIB_GIO_UNIX_INCLUDE_DIR
|
|
- NAMES gio/gunixconnection.h
|
|
- HINTS ${GIO_UNIX_INCLUDEDIR}
|
|
+ NAMES gio/gunixfdlist.h
|
|
+ HINTS ${GIO_UNIX_INCLUDEDIR}
|
|
PATH_SUFFIXES gio-unix-2.0)
|
|
|
|
set(ADDITIONAL_REQUIRED_VARS ${ADDITIONAL_REQUIRED_VARS} GLIB_GIO_UNIX_INCLUDE_DIR)
|
|
--
|
|
2.33.0
|
|
|