File 0003-Fix-the-previous-commits-and-the-build-with-exiv2-0..patch of Package krename5

From e54a32c89a8e2b9e01d4d02b699bac6062db0500 Mon Sep 17 00:00:00 2001
From: Heiko Becker <heirecka@exherbo.org>
Date: Tue, 20 Nov 2018 19:01:04 +0100
Subject: [PATCH 3/3] Fix the previous commits and the build with exiv2<0.27

---
 CMakeLists.txt         | 10 +++++-----
 config-krename.h.cmake |  2 +-
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index be33a09..4cbbb09 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -81,10 +81,10 @@ set_package_properties(Freetype PROPERTIES
 
 feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES)
 
-set(HAVE_TAGLIB TAGLIB_FOUND)
-set(HAVE_EXIV2 LibExiv2_FOUND)
-set(HAVE_PODOFO PoDoFo_FOUND)
-set(HAVE_FREETYPE FREETYPE_FOUND)
+set(HAVE_TAGLIB ${TAGLIB_FOUND})
+set(HAVE_EXIV2 ${LibExiv2_FOUND})
+set(HAVE_PODOFO ${PoDoFo_FOUND})
+set(HAVE_FREETYPE ${FREETYPE_FOUND})
 configure_file(config-krename.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-krename.h)
 
 # Directories
diff --git a/config-krename.h.cmake b/config-krename.h.cmake
index de25e6f..76c3d30 100644
--- a/config-krename.h.cmake
+++ b/config-krename.h.cmake
@@ -7,7 +7,7 @@
 #cmakedefine01 HAVE_EXIV2
 
 /* Defined if we have libexiv2 >= 0.27 */
-#cmakedefine01 HAVE_LIBEXIV2_0_27
+#cmakedefine HAVE_LIBEXIV2_0_27
 
 /* have PoDoFo */
 #cmakedefine01 HAVE_PODOFO
-- 
2.16.4