CMake usage requirements in KDE Frameworks

Stephen Kelly steveire at gmail.com
Sun Mar 24 19:46:49 UTC 2013


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?


Just kidding :). The problem was a bug in ecm that I've fixed.

Thanks,

Steve.




More information about the Kde-frameworks-devel mailing list