Review Request 116696: Fix kservice_desktop_to_json when using cmake 2.8

Aurélien Gâteau agateau at kde.org
Mon Mar 10 15:09:59 UTC 2014



> On March 10, 2014, 3:59 p.m., Aurélien Gâteau wrote:
> > Strange, it works fine here. Which version of CMake are you using and which repository is failing?
> 
> Aurélien Gâteau wrote:
>     Oh, version is in the request title. /me tests with 2.8.

Just tried with 2.8.12, which is the lowest supported version IIRC (at least KF5ConfigTargets.cmake thinks so) and it works for me.


- Aurélien


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/116696/#review52551
-----------------------------------------------------------


On March 10, 2014, 3 p.m., Aleix Pol Gonzalez wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/116696/
> -----------------------------------------------------------
> 
> (Updated March 10, 2014, 3 p.m.)
> 
> 
> Review request for KDE Frameworks.
> 
> 
> Repository: kservice
> 
> 
> Description
> -------
> 
> execute_process won't translate the generation expression into a path, so it refuses to work.
> 
> In this case using get_property(... LOCATION) it's fine because it's only used as an imported target.
> 
> 
> Diffs
> -----
> 
>   KF5ServiceMacros.cmake fd835bd 
> 
> Diff: https://git.reviewboard.kde.org/r/116696/diff/
> 
> 
> Testing
> -------
> 
> Now I can build frameworks that use kservice_desktop_to_json.
> 
> 
> Thanks,
> 
> Aleix Pol Gonzalez
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20140310/d6c13852/attachment.html>


More information about the Kde-frameworks-devel mailing list