File: cmake-4.patch

package info (click to toggle)
units-cpp 2.3.4%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 724 kB
  • sloc: cpp: 5,269; makefile: 3
file content (20 lines) | stat: -rw-r--r-- 632 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
From e05a74a66550eb95bf034cc3f99ad94e976c96f6 Mon Sep 17 00:00:00 2001
From: GeorgH93 <github@georgh93.eu>
Date: Tue, 15 Apr 2025 16:06:59 +0200
Subject: [PATCH] Update cmake min version

Update cmake minimum required version to work with CMake v4
---
 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9851b634..839a7b9e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.2...3.5 FATAL_ERROR)
+cmake_minimum_required(VERSION 3.2...3.16 FATAL_ERROR)
 
 PROJECT(units LANGUAGES CXX)
 set(units_VERSION 2.3.1)