SHA256
1
0
forked from pool/fcitx
fcitx/fcitx-cmake-3.1.patch

26 lines
1.0 KiB
Diff
Raw Normal View History

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)