Changeset View
Changeset View
Standalone View
Standalone View
plugins/mousepad/CMakeLists.txt
1 | find_package(LibFakeKey) | 1 | find_package(LibFakeKey) | ||
---|---|---|---|---|---|
2 | set_package_properties(LibFakeKey PROPERTIES DESCRIPTION "fake key events" | 2 | set_package_properties(LibFakeKey PROPERTIES DESCRIPTION "fake key events" | ||
3 | URL "https://www.yoctoproject.org/tools-resources/projects/matchbox" | 3 | URL "https://www.yoctoproject.org/tools-resources/projects/matchbox" | ||
4 | TYPE OPTIONAL | 4 | TYPE OPTIONAL | ||
5 | PURPOSE "Needed for the remote mousepad plugin" | 5 | PURPOSE "Needed for the remote mousepad plugin" | ||
6 | ) | 6 | ) | ||
7 | 7 | | |||
8 | if (LibFakeKey_FOUND) | 8 | if (LibFakeKey_FOUND) | ||
9 | find_package(XTest REQUIRED) | 9 | find_package(XTest REQUIRED) | ||
10 | find_package(X11 REQUIRED) | 10 | find_package(X11 REQUIRED) | ||
11 | find_package(Qt5X11Extras REQUIRED) | 11 | find_package(Qt5 ${QT_MIN_VERSION} REQUIRED COMPONENTS X11Extras) | ||
12 | endif() | 12 | endif() | ||
13 | find_package(KF5Wayland 5.3.90) | 13 | find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS Wayland) | ||
asturmlechner: KF5Wayland is now required, mistake or is there a reason for this change? | |||||
kossebau: Copy&Paste mistake, thanks for hint, going to fix later today. | |||||
Fixed with cfe83bb69d4fa68d3e4fa76a061ef245d8dcc0ef kossebau: Fixed with cfe83bb69d4fa68d3e4fa76a061ef245d8dcc0ef | |||||
14 | 14 | | |||
15 | set(HAVE_X11 ${LibFakeKey_FOUND}) | 15 | set(HAVE_X11 ${LibFakeKey_FOUND}) | ||
16 | set(HAVE_WAYLAND ${KF5Wayland_FOUND}) | 16 | set(HAVE_WAYLAND ${KF5Wayland_FOUND}) | ||
17 | configure_file(config-mousepad.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-mousepad.h ) | 17 | configure_file(config-mousepad.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-mousepad.h ) | ||
18 | 18 | | |||
19 | kdeconnect_add_plugin(kdeconnect_mousepad JSON kdeconnect_mousepad.json SOURCES mousepadplugin.cpp) | 19 | kdeconnect_add_plugin(kdeconnect_mousepad JSON kdeconnect_mousepad.json SOURCES mousepadplugin.cpp) | ||
20 | 20 | | |||
21 | if (HAVE_X11) | 21 | if (HAVE_X11) | ||
Show All 11 Lines |
KF5Wayland is now required, mistake or is there a reason for this change?