File photoqt-exiv2.patch of Package photoqt

Index: photoqt-v3.4/CMakeLists.txt
===================================================================
--- photoqt-v3.4.orig/CMakeLists.txt
+++ photoqt-v3.4/CMakeLists.txt
@@ -326,7 +326,7 @@ if(EXIV2)
         message(FATAL_ERROR "** Unable to locate Exiv2... is it installed?")
     else()
         include_directories(${EXIV2_INCLUDE_DIR})
-        target_link_libraries(${PROJECT_NAME} "exiv2lib")
+        target_link_libraries(${PROJECT_NAME} "exiv2")
         add_definitions(-DEXIV2)
         message("** Using Exiv2 ${exiv2_VERSION}")
         if(EXIV2_ENABLE_BMFF)
openSUSE Build Service is sponsored by