Fix massive amounts of warnings with CMake 2.8.12.1

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


On Sun, Dec 15, 2013 at 2:31 AM, Andreas Pakulat <apaku at gmx.de> 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.
>
> Andreas
>
> _______________________________________________
> KDevelop-devel mailing list
> KDevelop-devel at kde.org
> https://mail.kde.org/mailman/listinfo/kdevelop-devel
>
>
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.

Aleix
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20131215/e5b11455/attachment.html>


More information about the KDevelop-devel mailing list