Consistent CMake requirements in Plasma

Neal Gompa ngompa13 at gmail.com
Fri Feb 12 13:48:47 GMT 2021


On Tue, Feb 9, 2021 at 1:32 PM Nicolas Fella <nicolas.fella at gmx.de> wrote:
>
> Hi,
>
> while I was doing some cmake cleanup in Plasma I noticed that our stated
> minimum cmake versions are both somewhat inconsistent and super old.
> Most Plasma projects state that either 2.8 (released in 2009) or 3.0
> (released in 2014) are the minimum. That's obviously unrealistic.
>
> Newer cmake versions offer some nice stuff such as imported targets for
> common libs (e.g. used in
> https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/336). For
> the sake of consistency I propose that we standardize Plasma on
> something recent-ish.
>
> My candidate for this would be cmake 3.16. It's the version shipped by
> Ubuntu 20.04 and thus Neon. This would exclude Debian stable which ships
> 3.13 (which does not have the feature relevant for
> https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/336).
>
> Thoughts?
>

While at the moment I don't think we can ship newer Plasma to Fedora
EPEL for RHEL/CentOS 8 due to Qt things, we should be fine from a
CMake point of view as RHEL 8.4 is rebasing from CMake 3.11 to CMake
3.18. :)

Fedora is obviously fine. :)



--
真実はいつも一つ!/ Always, there's only one truth!


More information about the Plasma-devel mailing list