Fix massive amounts of warnings with CMake

Milian Wolff mail at
Sun Dec 15 18:07:32 UTC 2013

On Sunday 15 December 2013 02:31:28 Andreas Pakulat 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.

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.

Milian Wolff
mail at

More information about the KDevelop-devel mailing list