From 4a6970d684be96cd751b1c5ee7b74b7302e5c643 Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Thu, 24 Mar 2022 17:12:39 +0100 Subject: [PATCH] Make KF5Wayland optional behind existing DISABLE_PIPEWIRE We have an option so let's be consistent. Signed-off-by: Andreas Sturmlechner --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c213f55..885ee42 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -38,7 +38,6 @@ find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS DocTools Notifications Wallet - Wayland WidgetsAddons WindowSystem XmlGui @@ -90,6 +89,7 @@ add_feature_info(PipeWire PipeWire_FOUND "Required for pipewire screencast plugi find_package(PlasmaWaylandProtocols 1.5.0) if(PipeWire_FOUND AND PlasmaWaylandProtocols_FOUND) + find_package(KF5Wayland ${KF5_MIN_VERSION}) find_package(QtWaylandScanner REQUIRED) find_package(Qt5WaylandClient) find_package(Qt5XkbCommonSupport)