File: 20_fix_cmake4.patch

package info (click to toggle)
libstxxl 1.4.1-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,476 kB
  • sloc: cpp: 45,101; ansic: 4,071; perl: 610; sh: 555; xml: 174; makefile: 18
file content (16 lines) | stat: -rw-r--r-- 504 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: Increase minimal cmake version
Author: Anton Gladky <gladk@debian.org>
Bug-Debian: https://bugs.debian.org/1113207
Last-Update: 2025-10-09

--- libstxxl-1.4.1.orig/CMakeLists.txt
+++ libstxxl-1.4.1/CMakeLists.txt
@@ -15,7 +15,7 @@
 set(CMAKE_LEGACY_CYGWIN_WIN32 0) # needed to silence warning on cygwin
 
 # require cmake 2.6.2 (but please use 2.8.x)
-cmake_minimum_required(VERSION 2.6.2 FATAL_ERROR)
+cmake_minimum_required(VERSION 3.10 FATAL_ERROR)
 
 # the STXXL project
 project(stxxl)