File: cmake-4.patch

package info (click to toggle)
pktools 2.6.7.6%2Bds-8
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 9,132 kB
  • sloc: cpp: 33,451; xml: 10,955; python: 1,601; makefile: 137; sh: 58; ansic: 24
file content (16 lines) | stat: -rw-r--r-- 757 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: Fix FTBFS with CMake 4.x.
Author: Bas Couwenberg <sebastic@debian.org>
Forwarded: https://savannah.nongnu.org/support/index.php?111309

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -21,8 +21,7 @@
 #set CMAKE_INSTALL_PREFIX to C:/OSGeo4W64;C:/Users/kempenep/Downloads/FANN-2.2.0-Source/FANN-2.2.0-Source/install;C:/Users/kempenep/Downloads/armadillo-6.200.4/install;C:\Users\kempenep\Downloads\nlopt-2.4.2-dll64
 #
 ###############################################################################
-cmake_minimum_required(VERSION 2.6.0)
-#cmake_minimum_required(VERSION 2.8)
+cmake_minimum_required(VERSION 3.10.0)
 ###############################################################################
 # Set Project name and version
 project (PKTOOLS)