On 16 July 2014 19:21, Cristian Oneț <onet.crist...@gmail.com> wrote:
> 2014-07-16 10:09 GMT+03:00 Marko Käning <mk-li...@email.de>:
>> Hi Cristian,
>>
>> On 16 Jul 2014, at 06:53 , Cristian Oneț <onet.crist...@gmail.com> wrote:
>>> Those are libraries from kdepimlibs and should be handled by adding
>>> kdepimlibs[frameworks] as a dependency.
>>
>> yes, I know. I’ve taken care of this in [1] just now.
>
> Thanks,
>
>>
>>
>>>> ... I hope you can help to fix a problem I met on OSX with the alkimia 
>>>> build system
>>>>
>>>> Ben pointed this out:
>>>>
>>>> ---
>>>>
>>>> On 15 Jul 2014, at 12:50 , Ben Cooksley <bcooks...@kde.org> wrote:
>>>>> This is a fairly usual split-installation-prefix build failure then :)
>>>>> You need to ask the libalkimia developers to adjust the CMake code to
>>>>> ensure the GMP include paths are added to include_directories()
>>>>> appropriately.
>>
>>
>> Cristian, any idea about this ^^^ ?

Hi Cristian,

>
> I'll fix this, I thought [1] is enough (add gmp to
> target_link_libraries) but I guess that it's true only for frameworks.
> AFAIK adding used frameworks to the include directories is not
> necessary since this is deduced from target_link_libraries in cmake 3,
> please correct me if this is wrong.

Yes, it is only true for frameworks i'm afraid. To be more precise, it
only works when the importable target has been appropriately setup in
the *Config.cmake files for the project you are depending on. While
this is done for all of the frameworks, not all other projects do this
at the moment.

>
> Regards,
> Cristian
>
> [1] 
> https://projects.kde.org/projects/extragear/office/alkimia/repository/revisions/master/entry/libalkimia/CMakeLists.txt#L67
>
>>
>> Greets,
>> Marko
>>
>>
>>
>>
>> [1] https://git.reviewboard.kde.org/r/119308/

Thanks,
Ben
_______________________________________________
KMyMoney-devel mailing list
KMyMoney-devel@kde.org
https://mail.kde.org/mailman/listinfo/kmymoney-devel

Reply via email to