OI/kde-misc/kdeconnect/files/kdeconnect-1.3.0-no-wayland.patch

14 lines
523 B
Diff
Raw Normal View History

2019-05-01 22:34:10 +02:00
diff --git a/plugins/mousepad/CMakeLists.txt b/plugins/mousepad/CMakeLists.txt
index ab9913ff..bfd52cd7 100644
--- a/plugins/mousepad/CMakeLists.txt
+++ b/plugins/mousepad/CMakeLists.txt
@@ -10,7 +10,7 @@ if (LibFakeKey_FOUND)
find_package(X11 REQUIRED)
find_package(Qt5 ${QT_MIN_VERSION} REQUIRED COMPONENTS X11Extras)
endif()
-find_package(KF5 ${KF5_MIN_VERSION} COMPONENTS Wayland)
+find_package(KF5Wayland ${KF5_MIN_VERSION} QUIET)
set(HAVE_X11 ${LibFakeKey_FOUND})
set(HAVE_WAYLAND ${KF5Wayland_FOUND})