File: cmake-4.patch

package info (click to toggle)
actor-framework 0.17.6-3.2
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 9,008 kB
  • sloc: cpp: 77,684; sh: 674; python: 309; makefile: 13
file content (28 lines) | stat: -rw-r--r-- 932 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Description: Fix FTBFS with CMake 4
Author: Adrian Bunk <bunk@debian.org>
Bug-Debian: https://bugs.debian.org/1112690

--- actor-framework-0.17.6.orig/CMakeLists.txt
+++ actor-framework-0.17.6/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 2.8.12)
+cmake_minimum_required(VERSION 3.5)
 project(caf CXX)
 
 # Set default install paths.
--- actor-framework-0.17.6.orig/libcaf_opencl/examples/CMakeLists.txt
+++ actor-framework-0.17.6/libcaf_opencl/examples/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 2.8)
+cmake_minimum_required(VERSION 3.5)
 project(caf_examples_opencl CXX)
 
 if(OpenCL_LIBRARIES AND NOT CAF_NO_EXAMPLES)
--- actor-framework-0.17.6.orig/libcaf_python/CMakeLists.txt
+++ actor-framework-0.17.6/libcaf_python/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 2.8)
+cmake_minimum_required(VERSION 3.5)
 project(caf_cash CXX)
 
 # check whether submodules are available