File kphotoalbum-exiv2.patch of Package kphotoalbum
Index: kphotoalbum-5.11.0/lib/CMakeLists.txt
===================================================================
--- kphotoalbum-5.11.0.orig/lib/CMakeLists.txt
+++ kphotoalbum-5.11.0/lib/CMakeLists.txt
@@ -116,7 +116,7 @@ find_package(exiv2 CONFIG QUIET)
if(exiv2_FOUND)
# search again with REQUIRED, so that the feature summary correctly shows exiv as required dependency
find_package(exiv2 CONFIG REQUIRED)
- set(EXIV2_LIBRARIES exiv2lib)
+ set(EXIV2_LIBRARIES exiv2)
else()
find_package(Exiv2 REQUIRED)
endif()