File: cmake-4.patch

package info (click to toggle)
ball 1.5.0%2Bgit20220524.d85d2dd-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 240,912 kB
  • sloc: cpp: 326,154; ansic: 4,212; python: 2,303; yacc: 1,778; lex: 1,099; xml: 958; sh: 338; javascript: 164; makefile: 98
file content (20 lines) | stat: -rw-r--r-- 499 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Description: Fix FTBFS with CMake 4.
Bug-Debian: https://bugs.debian.org/1112717
Author: Yavor Doganov <yavor@gnu.org>
Forwarded: no
Last-Update: 2025-11-07
---

--- ball.orig/CMakeLists.txt
+++ ball/CMakeLists.txt
@@ -5,9 +5,8 @@
 #
 ########################################################
 
-CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0 FATAL_ERROR)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0...3.5 FATAL_ERROR)
 
-CMAKE_POLICY(SET CMP0042 OLD)
 CMAKE_POLICY(SET CMP0043 NEW)
 CMAKE_POLICY(SET CMP0048 NEW)