Fix massive amounts of warnings with CMake

Aleix Pol aleixpol at
Sun Dec 15 22:09:37 UTC 2013

On Sun, Dec 15, 2013 at 2:31 AM, Andreas Pakulat <apaku at> wrote:

> Hi,
> no idea wether anybody is building kdevelop with CMake 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:
> 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.
> Andreas
> _______________________________________________
> KDevelop-devel mailing list
> KDevelop-devel at
I just checked and we don't have warnings anymore indeed (thanks Milian
:D). Depending on 2.8.9 sounds reasonable to me.

About frameworks, well there we already depend on cmake 2.8.12 and
FindKDE4Internal.cmake is gone, so it wouldn't affect much.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the KDevelop-devel mailing list