D17040: Make FindExiv2.cmake work with exiv 0.27.

Christophe Giboudeaux noreply at phabricator.kde.org
Tue Nov 20 10:02:42 GMT 2018


cgiboudeaux created this revision.
cgiboudeaux added a reviewer: kde-buildsystem.
Herald added a project: Gwenview.
cgiboudeaux requested review of this revision.

REVISION SUMMARY
  In exiv2 >= 0.27, the version is not defined in version.hpp but in exv_conf.h.
  The module now:
  
  - tries to use the version in the pkgconfig file,
  - If it's not (or cannot be) found, it parses both files to find it.
  
  The module was also refreshed to use the modern CMake syntax and follow our
  CMake policies.

TEST PLAN
  exiv2 0.26 and 0.27 are found.

REPOSITORY
  R260 Gwenview

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D17040

AFFECTED FILES
  cmake/FindExiv2.cmake

To: cgiboudeaux, kde-buildsystem
Cc: clintmoyer, tdarboux, huoni, muhlenpfordt, rkflx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-buildsystem/attachments/20181120/fd1d6e04/attachment.html>


More information about the Kde-buildsystem mailing list