File: 0001-Set-cmake_minimum_required-to-3.5.patch

package info (click to toggle)
libcbor 0.10.2-2.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,440 kB
  • sloc: ansic: 8,540; makefile: 157; cpp: 101; python: 90; sh: 81; ruby: 6
file content (24 lines) | stat: -rw-r--r-- 653 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
From 838cebd36ac9c517f821560019c6134dec271f24 Mon Sep 17 00:00:00 2001
From: PJK <me@pavelkalvoda.com>
Date: Fri, 4 Apr 2025 23:19:13 +0200
Subject: Set cmake_minimum_required to 3.5

Fixed https://github.com/PJK/libcbor/issues/351
---
 CMakeLists.txt | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index f773b23..bb78e7a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,4 +1,5 @@
-cmake_minimum_required(VERSION 3.0)
+cmake_minimum_required(VERSION 3.5)
+
 project(libcbor)
 set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_SOURCE_DIR}/CMakeModules/")
 include(CTest)
-- 
2.30.2