From cb481b492271860586c69298395e2ba118239406 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Fri, 17 Feb 2017 07:09:29 +0100 Subject: [PATCH] Find minimum required Breeze version instead of current version Summary: So far KWin put a version requirement on Breeze which is the current version number of KWin. This is technically correct, but distributions seem to have problems with it. E.g. I noticed twice in Debian testing that kwin defaults to Plastik which happens when Breeze is not found. I reported it, it got fixed, now it's again broken. Thus I think that distributions have problems with the requirement of building Breeze prior to KWin. As KWin does not depend on the minor version, let's depend only on the actual required version, which is 5.8 in the 5.8 branch, 5.9 in the 5.9 branch and master. Reviewers: #kwin, #plasma Subscribers: plasma-devel, kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D4644 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ab636cd35b..a683812788 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -120,7 +120,7 @@ set_package_properties(KScreenLocker PROPERTIES TYPE REQUIRED PURPOSE "For screenlocker integration in kwin_wayland") -find_package(Breeze ${PROJECT_VERSION} CONFIG) +find_package(Breeze 5.8.0 CONFIG) set_package_properties(Breeze PROPERTIES TYPE OPTIONAL PURPOSE "For setting the default window decoration plugin")