File cmake-version-range.patch of Package innoextract

From 83d0bf4365b09ddd17dddb400ba5d262ddf16fb8 Mon Sep 17 00:00:00 2001
From: Daniel Scharrer <daniel@constexpr.org>
Date: Wed, 20 Jan 2021 08:39:19 +0100
Subject: [PATCH] cmake: Fix warning with newer cmake versions

---
 cmake/VersionScript.cmake | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmake/VersionScript.cmake b/cmake/VersionScript.cmake
index be04b36..47c8542 100644
--- a/cmake/VersionScript.cmake
+++ b/cmake/VersionScript.cmake
@@ -17,7 +17,7 @@
 #    misrepresented as being the original software.
 # 3. This notice may not be removed or altered from any source distribution.
 
-cmake_minimum_required(VERSION 2.8)
+cmake_minimum_required(VERSION 2.8...3.19)
 
 # CMake script that reads a VERSION file and the current git history and the calls configure_file().
 # This is used by version_file() in VersionString.cmake
-- 
2.50.1

openSUSE Build Service is sponsored by