build: Mark KDecoration2 REQUIRED using set_package_properties()

This way there will be a more complete list of missing dependencies in
the feature summary.
This commit is contained in:
Vlad Zahorodnii 2022-10-31 19:25:47 +02:00
parent fe86eea311
commit 993c4e2d05

View file

@ -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