[appimage thumbnailer] Rely on imported cmake target libappimage
ClosedPublic

Authored by kossebau on Jan 30 2019, 12:01 AM.

Details

Summary

Recent released versions of libappimage set working imported cmake target,
and people better use the latest versions of libappimage anyway,
being a young & active project. No old widespread versions aronud
which need supporting here.

Test Plan

Appimage thumbnailer still builds and links (clean new build).

Diff Detail

Repository
R320 KIO Extras
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
kossebau created this revision.Jan 30 2019, 12:01 AM
Restricted Application added projects: Dolphin, Frameworks. Β· View Herald TranscriptJan 30 2019, 12:01 AM
Restricted Application added subscribers: kfm-devel, kde-frameworks-devel. Β· View Herald Transcript
kossebau requested review of this revision.Jan 30 2019, 12:01 AM
sitter added a subscriber: sitter.Feb 1 2019, 10:17 AM

Even with the chances being low of a system having an old version, I'd say it's better to actually make find_package look for at least the version that introduced the import target.

other than that πŸ‘

Even with the chances being low of a system having an old version, I'd say it's better to actually make find_package look for at least the version that introduced the import target.

Good idea, will add.
Hm, actually, I just tried to add this and found, libappimage misses to set the version in the cmake config file, even in the latest currently released version 0.1.7.. Meh... will poke the developers to get this fixed in a new version released ASAP.

Created https://github.com/AppImage/libappimage/pull/71 as one approach to get this solved on libappimage side.

kossebau updated this revision to Diff 52353.Feb 23 2019, 1:21 AM

Use 0.1.10 as min version for libappimage, which is the first to provide
working cmake config files

sitter accepted this revision.Feb 25 2019, 10:33 AM
This revision is now accepted and ready to land.Feb 25 2019, 10:33 AM
This revision was automatically updated to reflect the committed changes.