[Kde-pim] Akonadi Contact library: Targets not properly exported

Christophe Giboudeaux cgiboudeaux at gmx.com
Thu Mar 31 10:44:20 UTC 2016


On mercredi 30 mars 2016 20:19:29 CEST Ben Cooksley wrote:
> On Tue, Mar 29, 2016 at 10:46 PM, Sandro Knauß <sknauss at kde.org> wrote:
> 
> Those are the header generation and installation routines - which do
> indeed look.
> What is missing in this case is the include path specification for the
> KF5::AkonadiContact target which CMake provides.
> 

The exported target is correct.
From KF5AkonadiContactTargets.cmake :

set_target_properties(KF5::AkonadiContact PROPERTIES
INTERFACE_INCLUDE_DIRECTORIES
 "${_IMPORT_PREFIX}/include/KF5/Akonadi/Contact;
  ${_IMPORT_PREFIX}/include/KF5;
  ${_IMPORT_PREFIX}/include/KF5/akonadi/contact;
  ${_IMPORT_PREFIX}/include/KF5"
  INTERFACE_LINK_LIBRARIES "KF5::AkonadiCore;KF5::Contacts;Qt5::Widgets"
)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-buildsystem/attachments/20160331/58222c86/attachment.sig>


More information about the Kde-buildsystem mailing list