CMake usage requirements in KDE Frameworks

Stephen Kelly steveire at gmail.com
Mon Mar 25 17:51:11 UTC 2013


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?

Thanks,

Steve.




More information about the Kde-buildsystem mailing list