Implemented Version checker for fwupd in FindLIBFWUPD.cmake
ClosedPublic

Authored by abhijeet2096 on Aug 19 2018, 8:04 PM.

Details

Summary

Implemented Version checker for fwupd in FindLIBFWUPD.cmake

* Implemented Version Checker in FindLIBFWUPD.cmake
* Reduced the Minimum Required version of Fwupd to 1.06 [Not Tested, bug reports says it builds successfully on 1.06]

Related Bugs:

* https://bugs.kde.org/show_bug.cgi?id=397377
* https://bugs.kde.org/show_bug.cgi?id=397378

Diff Detail

Repository
R134 Discover Software Store
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
abhijeet2096 created this revision.Aug 19 2018, 8:04 PM
Restricted Application added a project: Plasma. · View Herald TranscriptAug 19 2018, 8:04 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
abhijeet2096 requested review of this revision.Aug 19 2018, 8:04 PM
apol added a comment.Aug 19 2018, 9:22 PM

You can extract the version from pkgconfig. CMake has macros to interact with it, or just the executable pkg-config --modversion fwupd meanwhile.

Now, I am using PkgConfig for extracting the version, and other info for the library.

apol accepted this revision.Aug 21 2018, 2:12 PM
This revision is now accepted and ready to land.Aug 21 2018, 2:12 PM
This revision was automatically updated to reflect the committed changes.