Increase minimum KDecoration2 version

I just got a build failure because I hadn't updated KDecoration to
include 195bcf36df.
Bump the minimum version to trigger a CMake error instead of a
compilation failure. Since we expect to be using the same version of
KDecoration as KWin, this change uses ${PROJECT_VERSION} as the minimum
version.
This commit is contained in:
Alex Richardson 2021-10-06 09:53:42 +01:00 committed by Alex Richardson
parent 9f69d4c9c2
commit 8ab41804f0

View file

@ -129,7 +129,7 @@ set_package_properties(KF5Kirigami2 PROPERTIES
TYPE RUNTIME TYPE RUNTIME
) )
find_package(KDecoration2 5.18.0 CONFIG REQUIRED) find_package(KDecoration2 ${PROJECT_VERSION} CONFIG REQUIRED)
find_package(KScreenLocker CONFIG REQUIRED) find_package(KScreenLocker CONFIG REQUIRED)
set_package_properties(KScreenLocker PROPERTIES set_package_properties(KScreenLocker PROPERTIES