From d6f02abad0827d4597196cd0ed08d0357dc6c484 Mon Sep 17 00:00:00 2001 From: Vlad Zahorodnii Date: Sun, 10 Oct 2021 18:31:36 +0300 Subject: [PATCH] cmake: Make KF5Wayland required again wayland platform plugin uses KF::Wayland. --- CMakeLists.txt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e53d218b87..86059cb12d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -100,6 +100,12 @@ set_package_properties(Threads PROPERTIES TYPE REQUIRED ) +find_package(KF5Wayland ${KF5_MIN_VERSION} CONFIG) +set_package_properties(KF5Wayland PROPERTIES + PURPOSE "Required to build wayland platform plugin and tests" + TYPE REQUIRED +) + # optional frameworks find_package(KF5Activities ${KF5_MIN_VERSION} CONFIG) set_package_properties(KF5Activities PROPERTIES @@ -420,7 +426,6 @@ if (BUILD_TESTING) find_package(QtWaylandScanner ${QT_MIN_VERSION} REQUIRED) find_package(Wayland REQUIRED COMPONENTS Client) find_package(PlasmaWaylandProtocols CONFIG REQUIRED) - find_package(KF5Wayland ${KF5_MIN_VERSION} REQUIRED) add_subdirectory(autotests) add_subdirectory(tests)