File: cmake4.patch

package info (click to toggle)
asl 0.1.7-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,536 kB
  • sloc: cpp: 36,180; makefile: 26
file content (25 lines) | stat: -rw-r--r-- 640 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
From: =?utf-8?q?Timo_R=C3=B6hling?= <roehling@debian.org>
Date: Wed, 24 Sep 2025 21:36:31 +0200
Subject: Bump CMake policy version

---
 CMakeLists.txt | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index a1c0c6a..bf80c3e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -20,11 +20,9 @@
 #
 
 
+cmake_minimum_required(VERSION 3.10)
 project(ASL)
 
-# After switching to 3.1 - remove FindOpenCL.cmake from the distribution
-# since it is supported by the cmake itself.
-cmake_minimum_required(VERSION 3.0.2 FATAL_ERROR)
 
 # Set version number
 set(ASL_VERSION_MAJOR 0)