On Sunday 13 October 2013 17:18:28 Mark wrote:
> Hi,
> 
> I used to rely on KF5_INCLUDE_DIRS but since a few days that variable seems
> to be empty. Did i do something wrong?
> 
> My CMake file for the relevant parts:
> 
> find_package(ECM REQUIRED NO_MODULE)
> set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH})
> find_package(KF5 MODULE REQUIRED COMPONENTS CMake Compiler InstallDirs
> KBookmarks XmlGui Solid KIO)
> include_directories(${KF5_INCLUDE_DIRS})
> 
> KF5_INCLUDE_DIRS used to contain a bunch of paths a few days ago.

I don't know much about this variable, but it shouldn't be needed anyway.
Just linking to the appropriate targets (e.g. KF5::KBookmarks) should bring in 
the corresponding include dirs.

-- 
David Faure, [email protected], http://www.davidfaure.fr
Working on KDE, in particular KDE Frameworks 5

_______________________________________________
Kde-frameworks-devel mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kde-frameworks-devel

Reply via email to