New cmake warning.

Alexander Neundorf neundorf at kde.org
Mon May 16 18:38:34 BST 2022


On Dienstag, 3. Mai 2022 18:43:48 CEST Méven wrote:
> Le mar. 3 mai 2022 à 18:25, Thomas Friedrichsmeier <
> 
> thomas.friedrichsmeier at kdemail.net> a écrit :
> > On Tue, 3 May 2022 10:35:20 +0200
> > 
> > Méven <meven29 at gmail.com> wrote:
> > > I am guessing you are using cmake >= 3.16 so it allows you to run, but
> > > since the project does not have a cmake minimum, for others using
> > > cmake < 3.16 the build will break.
> > > This warning highlights it, so you inform your contributor they need
> > > cmake 3.16 before running into the hard fail in FindKF5.
> > 
> > On the downside, project wishing to remain backwards-compatible with
> > older systems (which will come with older versions of both cmake and
> > ECM) will want to avoid adding such a requirement, explicitly.
> 
> Cmake 3.16 dates from November 2019 to put things in perspective.

RHEL 8, which many commercial users have not updated to yet, comes with cmake 
3.11, to add some more perspective ;-)

Alex






More information about the kde-core-devel mailing list