File: 0008-Cmake-4-compat.patch

package info (click to toggle)
python-ltfatpy 1.1.2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 41,424 kB
  • sloc: ansic: 8,546; python: 6,470; makefile: 15
file content (31 lines) | stat: -rw-r--r-- 951 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
23
24
25
26
27
28
29
30
31
From: Antonio Valentino <antonio.valentino@tiscali.it>
Date: Mon, 1 Sep 2025 17:33:08 +0000
Subject: Cmake 4 compat

Forwarded: not-needed
---
 CMakeLists.txt                | 2 +-
 ltfat_C_kernel/CMakeLists.txt | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1c3c28d..9bf5db1 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,5 +1,5 @@
 # Defines the CMake commands/policies
-cmake_minimum_required( VERSION 2.8.5 )
+cmake_minimum_required( VERSION 3.5 )
 
 # Set the project name
 project( LTFATPY )
diff --git a/ltfat_C_kernel/CMakeLists.txt b/ltfat_C_kernel/CMakeLists.txt
index 87dc936..7caea13 100644
--- a/ltfat_C_kernel/CMakeLists.txt
+++ b/ltfat_C_kernel/CMakeLists.txt
@@ -1,4 +1,4 @@
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.11)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.5)
 
 include_directories(${CMAKE_CURRENT_SOURCE_DIR})
 include_directories(${CMAKE_CURRENT_SOURCE_DIR}/thirdparty)