File: 01_cmake4_FTBFS.diff

package info (click to toggle)
maxflow 3.0.5-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 212 kB
  • sloc: cpp: 1,107; makefile: 2
file content (18 lines) | stat: -rw-r--r-- 467 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: Bump CMAKE_MINIMUM_REQUIRED to 3.5.
Author: Andreas Metzler <ametzler@debian.org>
Bug-Debian: https://bugs.debian.org/1113269
Origin: vendor
Forwarded: no
Last-Update: 2025-10-17

--- maxflow-3.0.5.orig/CMakeLists.txt
+++ maxflow-3.0.5/CMakeLists.txt
@@ -16,7 +16,7 @@
 
 PROJECT("maxflow")
 
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.5 FATAL_ERROR)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.5 FATAL_ERROR)
 
 if(COMMAND cmake_policy)
   cmake_policy(SET CMP0003 NEW)