File: cmake-4.patch

package info (click to toggle)
libosl 0.8.0-4.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,328 kB
  • sloc: cpp: 114,345; ruby: 1,290; ansic: 915; makefile: 431; perl: 309; sh: 35
file content (15 lines) | stat: -rw-r--r-- 459 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: Fix FTBFS with CMake 4
Author: Adrian Bunk <bunk@debian.org>
Bug-Debian: https://bugs.debian.org/1113179

--- libosl-0.8.0.orig/CMakeLists.txt
+++ libosl-0.8.0/CMakeLists.txt
@@ -24,7 +24,7 @@ if(APPLE AND CMAKE_INSTALL_PREFIX MATCHE
 endif()
 
 message(STATUS "Building ${PROJECT_NAME} in ${CMAKE_BUILD_TYPE} mode")
-cmake_minimum_required(VERSION 2.8.8)
+cmake_minimum_required(VERSION 3.5)
 set (CMAKE_VERBOSE_MAKEFILE on)
 
 ENABLE_TESTING()