CMake usage requirements in KDE Frameworks

Alexander Neundorf neundorf at kde.org
Mon Mar 25 18:10:02 UTC 2013


On Monday 25 March 2013, Stephen Kelly wrote:
> Alexander Neundorf wrote:
> > On Sunday 24 March 2013, Stephen Kelly wrote:
> >> Alexander Neundorf wrote:
> >> > kcodecs doesn't build for me because it doesn't get the QtCore include
> >> > dirs.
> >> > 
> >> > It has this code:
> >> > target_link_libraries(KCodecs LINK_PUBLIC ${QT_QTCORE_LIBRARY} )
> >> > 
> >> > This should get it the include dirs, right ?
> >> 
> >> No idea, what's in the QT_QTCORE_LIBRARY variable? Can you message() it?
> > 
> > Did that before, it was the target. :-P
> > But knowing that doesn't help.
> > The include dirs are missing - are they missing because a call to
> > include_directories() is missing or because something is wrong with the
> > properties of the target ?
> 
> Did you update your ecm, as I wrote before?

I saw your patch, no problem.

Alex


More information about the Kde-buildsystem mailing list