[cmake] find_package(KDE4)

Alexander Neundorf neundorf at kde.org
Sun Feb 12 09:42:48 UTC 2012


On Sunday 12 February 2012, Michał Walenciak wrote:
> Hi all
> 
> 
> I've encountered problem with using kde stuff in my program.
> When I simply added find_package(KDE4) it just stopped linking.
> 
> I think it's probably related to this post:
> http://forum.kde.org/viewtopic.php?f=64&t=89265

This link doesn't work for me: "Internal Server Error".

What problem do you have ?

> 
> I've two questions:
> 1. what find_package(KDE4) has changed, so program which was compiling and
> linking successfully stopped linking?

This should not happen.
If it does, it's a bug and we'll fix it.

> 2. why find_package(KDE4) is forcing it's own compiler flags (like
> additional -Wxxx or -O2 in DEBUG build)? I can agree, that ${KDE_xxxx}
> variables can be put around to influence on some compiler flags, but
> simple "find_package" IMHO should not do such things.

That's simply how it is done with KDE4, this will probably change with KDE 
frameworks.

Alex


More information about the Kde-buildsystem mailing list