File: cmake-4.patch

package info (click to toggle)
osm2pgrouting 2.3.9-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,072 kB
  • sloc: cpp: 3,726; python: 3,105; xml: 504; sh: 109; sql: 54; ansic: 46; makefile: 18
file content (13 lines) | stat: -rw-r--r-- 479 bytes parent folder | download | duplicates (2)
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>
Bug: https://github.com/pgRouting/osm2pgrouting/issues/312
Forwarded: https://github.com/pgRouting/osm2pgrouting/pull/313

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.2 FATAL_ERROR)
+cmake_minimum_required(VERSION 3.10 FATAL_ERROR)
 
 if ( ${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_BINARY_DIR} )
     message(FATAL_ERROR "In-source builds not allowed.