Missing linker path in nepomuk-core

Alexander Neundorf neundorf at kde.org
Thu Jan 5 17:50:52 UTC 2012


On Thursday 05 January 2012, Shaun Reich wrote:
> On Thu, Jan 5, 2012 at 12:03 PM, Torgny Nyblom <nyblom at kde.org> wrote:
> > Hi,
> > 
> > I'm having an issue with building nepomuk-core in jenkins.
> > 
> > The issue seems to be that the path to where kdelibs installs its
> > libraries to is missing from the linker include paths generated by
> > cmake.
> > 
> > Below is the command that is generated and the resulting error.
> > 
> > /usr/bin/ld: cannot find -lkdecore
> > /usr/bin/ld: cannot find -lkdeui
> > 
> > 
> > target_link_libraries(nepomukcore
> >  ${SOPRANO_LIBRARIES}
> >  ${SOPRANO_CLIENT_LIBRARIES}
> >  ${QT_QTCORE_LIBRARY}
> >  ${QT_QTGUI_LIBRARY}
> >  ${QT_QTDBUS_LIBRARY}
> >  kdecore
> >  kdeui
> > )
> 
> shouldn't this be: ${KDE4_KDECORE_LIBS} and ${KDE4_KDEUI_LIBS} ?

Yes, this should, well, must be used.

Alex



More information about the Kde-buildsystem mailing list