Fix massive amounts of warnings with CMake 2.8.12.1

Andreas Pakulat apaku at gmx.de
Sun Dec 15 23:31:56 UTC 2013


Hi,

On Sun, Dec 15, 2013 at 7:07 PM, Milian Wolff <mail at milianw.de> wrote:

> On Sunday 15 December 2013 02:31:28 Andreas Pakulat wrote:
> > Hi,
> >
> > no idea wether anybody is building kdevelop with CMake 2.8.12.1 yet
> > (besides me), but doing so generates a massive amount of warnings about
> > CMake policy CMP0022. I've unsucessfully tried to simply set the policy
> to
> > OLD to silence the warning, but unfortunately this is not working out
> while
> > using KDE macros. I've taken this to the CMake list and got basically
> three
> > options at:
> >
> > http://www.cmake.org/pipermail/cmake/2013-December/056627.html
> > http://www.cmake.org/pipermail/cmake/2013-December/056628.html
> >
> > I guess 1) is not an option for kde4, maybe things are already better in
> > frameworks (Aleix?), so that leaves 2) or 3). Personally I'd favor 3),
> i.e.
> > fixing the code and requiring CMake 2.8.9, but it means differing from
> what
> > kdelibs requires (for CMake) afaik so wanted to check first what the
> > opinions are about this.
>
> I fixed this yesterday in master - can you please try? Note that Debian
> stable
> ships with Cmake 2.8.9 so I think that's ok to require.
>

Cool, works like a charme. Thanks for fixing this.

Andreas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20131216/685c109b/attachment-0001.html>


More information about the KDevelop-devel mailing list