File 0001-Adapt-to-Lib-prefix-removed-from-KompareDiff2-CMake-.patch of Package kompare
From 6554e2ba6aba01821df56430af3101594b7f6f29 Mon Sep 17 00:00:00 2001
From: "Friedrich W. H. Kossebau" <kossebau@kde.org>
Date: Sun, 3 Sep 2023 00:22:34 +0200
Subject: [PATCH] Adapt to "Lib" prefix removed from KompareDiff2 CMake config
name
(commit amended to lower the minimum version)
---
CMakeLists.txt | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b952e7f..9c83fa3 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -58,8 +58,8 @@ find_package(KF${KF_MAJOR_VERSION} ${KF_MIN_VERSION} REQUIRED COMPONENTS
I18n
)
-find_package(LibKompareDiff2 5.4 CONFIG)
-set_package_properties(LibKompareDiff2 PROPERTIES
+find_package(KompareDiff2 5.95.0 CONFIG)
+set_package_properties(KompareDiff2 PROPERTIES
TYPE REQUIRED
)