File: 0020-Fix-cmake-error.patch

package info (click to toggle)
node-yarnpkg 4.1.0%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 24,828 kB
  • sloc: javascript: 38,953; ansic: 26,035; cpp: 7,247; sh: 2,829; makefile: 724; perl: 493
file content (29 lines) | stat: -rw-r--r-- 810 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
29
From: =?utf-8?q?Bastien_Roucari=C3=A8s?= <rouca@debian.org>
Date: Wed, 4 Mar 2026 14:54:07 +0100
Subject: Fix cmake error

forwarded: not-needed
---
 arcanis-libzip/CMakeLists.txt | 2 +-
 zlib-ng/CMakeLists.txt        | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

--- a/arcanis-libzip/CMakeLists.txt
+++ b/arcanis-libzip/CMakeLists.txt
@@ -1,7 +1,7 @@
 # TODO:
 # create usable libtool .la file
 
-CMAKE_MINIMUM_REQUIRED(VERSION 3.0.2)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.5)
 
 LIST(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR})
 
--- a/zlib-ng/CMakeLists.txt
+++ b/zlib-ng/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.5.1...3.29.0)
+cmake_minimum_required(VERSION 3.12.0...3.29.0)
 if(CMAKE_VERSION VERSION_LESS 3.12)
     cmake_policy(VERSION ${CMAKE_VERSION})
 endif()