Howto fix KDE4 Buildsystem with CMake CVS

David Faure faure at kde.org
Tue Jan 29 18:11:48 CET 2008


On Monday 28 January 2008, 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} ).

Can't we just do that in kde4_add_executable and kde4_add_library etc.?
Or is that too much hidden magic?

-- 
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).


More information about the Kde-buildsystem mailing list