forked from pool/fcitx
4b350b6bbb
OBS-URL: https://build.opensuse.org/request/show/592208 OBS-URL: https://build.opensuse.org/package/show/M17N/fcitx?expand=0&rev=152
26 lines
1.0 KiB
Diff
26 lines
1.0 KiB
Diff
Index: fcitx-4.2.9.6/CMakeLists.txt
|
|
===================================================================
|
|
--- fcitx-4.2.9.6.orig/CMakeLists.txt
|
|
+++ fcitx-4.2.9.6/CMakeLists.txt
|
|
@@ -1,4 +1,4 @@
|
|
-cmake_minimum_required(VERSION 3.6)
|
|
+cmake_minimum_required(VERSION 3.1)
|
|
|
|
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)
|