File: fix_cmake_minimum_version.patch

package info (click to toggle)
caneda 0.4.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,764 kB
  • sloc: cpp: 16,593; vhdl: 236; xml: 61; ansic: 18; makefile: 9
file content (17 lines) | stat: -rw-r--r-- 636 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: bump minimum CMake version to 3.31
 With CMake 4 compatibility for CMake versions < 3.5 is dropped.
 This patch bumps the minimum cmake version to the one currently in Debian 13.
Author: lisandro Damián Nicanor Pérez Meyer <perezmeyer@gmail.com>
Forwarded: not-needed

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -8,7 +8,7 @@
 # ==================================================================================
 # Minimum libraries required
 
-CMAKE_MINIMUM_REQUIRED( VERSION 2.8.11 )
+CMAKE_MINIMUM_REQUIRED( VERSION 3.31 )
 
 SET( QT_MIN_VERSION 5.3.2 )
 FIND_PACKAGE( Qt5Widgets ${QT_MIN_VERSION} REQUIRED )