Changes to build with CMake 2.6

Alexander Neundorf neundorf at kde.org
Sun Apr 27 10:09:02 UTC 2008


On Sunday 27 April 2008, Frederik Schwarzer wrote:
> On Sunday 27 April 2008 10:26:19 Andreas Pakulat wrote:
> > This problem shows up if kdelibs is built with cmake 2.4, but other
> > modules are getting built with cmake 2.6. I've posted that quite some
> > time ago already on the buildsystem list and AFAIK the conclusion was
> > that its not supported to do that.
>
> Hmm, I talked to a Debian-kde guy yesterday and he said the problem ist
> that cmake did some implicit linking which many devs got used to.
> However he also said that kde 4.0.68 depends on cmake 2.6, so I guess it is

What is KDE 4.0.68 ?
cmake 2.6.0 is not yet released, only RCs.
KDE still requires cmake >= 2.4.5 and this will not change soon.

> built with 2.6. Here i have 2.6-patch 0 RC-8.
> The concusion of the debian packagers is that they start sending patches
> upstream to link to every needed library explicitly.
>
> My setup here is a packages-based KDE installation from the Debian
> experimental archive and some apps that are compiled from source.
>
> On Sunday 27 April 2008 09:43:08 Alexander Neundorf wrote:
> > Where did it get the symbols from before ?
>
> I do not know, actually. I am just running cmakekde. :)
>
> > Can you post the old and the new link command ?
>
> What do you mean? There's the target_link_libraries() thing in the
> CMakeList.txt file. But since this is already in the diff file, I guess you
> mean something different. :)

make VERBOSE=1 and then send the linking command.

Alex




More information about the KDevelop-devel mailing list