File: Bump-cmake-max-policy-version-to-3.10.patch

package info (click to toggle)
libzen 0.4.41-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,496 kB
  • sloc: cpp: 10,502; ansic: 3,590; sh: 274; makefile: 97
file content (22 lines) | stat: -rw-r--r-- 659 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: Chow Loong Jin <hyperair@debian.org>
Date: Mon, 29 Sep 2025 11:49:38 +0800
Subject: Bump cmake max policy version to 3.10

Policy versions below 3.5 have been removed in cmake 4, and versions below 3.10
are deprecated.

Bug-Debian: https://bugs.debian.org/1113229
---
 Project/CMake/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Project/CMake/CMakeLists.txt b/Project/CMake/CMakeLists.txt
index 35cfd10..d806e68 100644
--- a/Project/CMake/CMakeLists.txt
+++ b/Project/CMake/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.1.0)
+cmake_minimum_required(VERSION 3.1.0...3.10)
 
 project(ZenLib)