diff --git a/fcitx-cmake-3.1.patch b/fcitx-cmake-3.1.patch index 2b18169..37ed5d9 100644 --- a/fcitx-cmake-3.1.patch +++ b/fcitx-cmake-3.1.patch @@ -8,3 +8,18 @@ Index: fcitx-4.2.9.6/CMakeLists.txt project(fcitx) +Index: fcitx-4.2.9.6/src/frontend/ipcportal/CMakeLists.txt +=================================================================== +--- fcitx-4.2.9.6.orig/src/frontend/ipcportal/CMakeLists.txt ++++ fcitx-4.2.9.6/src/frontend/ipcportal/CMakeLists.txt +@@ -2,8 +2,8 @@ set(FCITX_IPCPORTAL_LINK_LIBS) + if(_ENABLE_DBUS) + include_directories(${DBUS_INCLUDE_DIRS}) + link_directories(${DBUS_LIBRARY_DIRS}) +- pkg_check_modules(LibUUID "uuid" IMPORTED_TARGET REQUIRED) +- set(FCITX_IPCPORTAL_LINK_LIBS ${FCITX_IPCPORTAL_LINK_LIBS} ${DBUS_LIBRARIES} PkgConfig::LibUUID) ++ pkg_check_modules(LibUUID "uuid" REQUIRED) ++ set(FCITX_IPCPORTAL_LINK_LIBS ${FCITX_IPCPORTAL_LINK_LIBS} ${DBUS_LIBRARIES} -luuid) + set(ipcportal_noinstall) + else() + set(ipcportal_noinstall NO_INSTALL)