From 993c4e2d051bfd56a5d4bfb98b18dc9104a70a81 Mon Sep 17 00:00:00 2001 From: Vlad Zahorodnii Date: Mon, 31 Oct 2022 19:25:47 +0200 Subject: [PATCH] build: Mark KDecoration2 REQUIRED using set_package_properties() This way there will be a more complete list of missing dependencies in the feature summary. --- CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e9305ce7c7..ad76f3af45 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -134,7 +134,11 @@ set_package_properties(KF5Kirigami2 PROPERTIES TYPE RUNTIME ) -find_package(KDecoration2 ${PROJECT_VERSION} CONFIG REQUIRED) +find_package(KDecoration2 ${PROJECT_VERSION} CONFIG) +set_package_properties(KDecoration2 PROPERTIES + TYPE REQUIRED + PURPOSE "Required for server side decoration support" +) find_package(Breeze 5.9.0 CONFIG) set_package_properties(Breeze PROPERTIES