File: cmake-4.patch

package info (click to toggle)
libfann 2.2.0%2Bds-9
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 11,792 kB
  • sloc: ansic: 6,033; cpp: 1,436; makefile: 113; sh: 27
file content (13 lines) | stat: -rw-r--r-- 329 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
Description: Fix FTBFS with CMake 4.x.
Author: Bas Couwenberg <sebastic@debian.org>

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,6 +1,6 @@
 PROJECT (FANN)
 #SET(CMAKE_VERBOSE_MAKEFILE ON)
-cmake_minimum_required(VERSION 2.8)
+cmake_minimum_required(VERSION 3.10)
 
 SET(CMAKE_MODULE_PATH
 	${CMAKE_SOURCE_DIR}/cmake/Modules