[Kde-pim] Akonadi Contact library: Targets not properly exported
Ben Cooksley
bcooksley at kde.org
Fri Apr 1 06:48:58 UTC 2016
On Thu, Mar 31, 2016 at 11:44 PM, Christophe Giboudeaux
<cgiboudeaux at gmx.com> wrote:
> 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"
> )
Hmm, indeed that does look correct.
I wonder why Digikam would fail to compile then:
19:24:09 /home/jenkins/sources/digikam/kf5-qt5/utilities/kdesupport/akonadi/akonadiiface.cpp:47:44:
fatal error: Akonadi/Contact/ContactSearchJob: No such file or
directory
Any ideas? (I assume Digikam is trying using to use AkonadiContact correctly)
Cheers,
Ben
>
> _______________________________________________
> Kde-buildsystem mailing list
> Kde-buildsystem at kde.org
> https://mail.kde.org/mailman/listinfo/kde-buildsystem
>
More information about the Kde-buildsystem
mailing list