Fix building against exiv2-0.27

Authored by asturmlechner on Dec 29 2018, 6:56 PM.

Description

Fix building against exiv2-0.27

Summary:
Copied FindLibExiv2.cmake from ECM 5.53.0 until we raise min version.

Upstream advises to include single exiv2/exiv2.hpp over separate headers
that are in the process of being refactored.

BUG: 402644

Test Plan: Tested build with exiv2-0.26 and 0.27

Reviewers: KDE Applications, cgilles, aacid, bruns

Reviewed By: bruns

Subscribers: ngraham, bruns, heikobecker

Differential Revision: https://phabricator.kde.org/D17799

Details

Committed
asturmlechnerDec 30 2018, 3:39 PM
Reviewer
bruns
Differential Revision
D17799: Fix building against exiv2-0.27
Parents
R378:2772f91f2a49: Initialize cmake project after cmake_minimum_required was set
Branches
Unknown
Tags
Unknown
References
tag: v19.04.0, tag: v19.03.90, tag: v19.03.80