Howto fix KDE4 Buildsystem with CMake CVS

Andreas Pakulat apaku at gmx.de
Mon Jan 28 23:54:47 CET 2008


On 28.01.08 23:31:34, Andreas Pakulat wrote:
> On 28.01.08 10:32:15, Andreas Pakulat wrote:
> > There are a couple of ways to fix this:
> > 
> > a) introduce KDE_XXX_LIBRARY_DIR (or KDE_LIBRARY_DIR) and add
> > link_directories calls for kde libdir and qt libdir in all
> > CMakeLists.txt all over trunk/.
> 
> I must be blind. FindKDE4Internal.cmake already advertises KDE4_LIB_DIR,
> so this is simply a matter of fixing the projects that need to use
> link_directories( ${KDE4_LIB_DIR} ).

Hmm, this leads to another question: Should we also add Qt's lib dir
using link_directories? 

I mean currently export_libraries_dependencies provides the full path to
the Qt libs, but if that changes builds will break too...

> I'm going to do that for the parts of trunk/ I have checked out.

I'll delay comitting this until we've got some more discussions wether
to fix this on individual files or somewhere in FindKDE4Internal.cmake

Andreas

-- 
Your present plans will be successful.


More information about the Kde-buildsystem mailing list