cmake 2.6.2 now required - changes in handling shared libs

Alexander Neundorf neundorf at kde.org
Thu Nov 13 22:23:40 CET 2008


On Thursday 13 November 2008, Andreas Pakulat wrote:
> [moving to just kde-buildsystem]
...
> Actually I found out that I did it wrong :) I added the
> LINK_INTERFACE_LIBRARIES in the first target_link_libraries where all the
> needed libs for kdevplatforminterfaces are listed. So "all hell broke
> loose" and nothing linked anymore. After introducing a new separate line
> for that it looked a lot better.
>
> So basically I just need to sit down and check which libs need to be in
> LINK_INTERFACE_LIBRARIES and then adjust the cmake-files accordingly.

Yes.

> Am I right that any symbol/class used in external API means the library
> providing that symbol should be in the LINK_INTERFACE_LIBRARIES?

Yes.

Alex


More information about the Kde-buildsystem mailing list