File: cmake-4.patch

package info (click to toggle)
libshrinkwrap 1.2.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 180 kB
  • sloc: cpp: 2,118; makefile: 4
file content (23 lines) | stat: -rw-r--r-- 827 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
Description: fix build failure with cmake 4.
 Since cmake 4, the build fails with error:
 .
        CMake Error at CMakeLists.txt:1 (cmake_minimum_required):
          Compatibility with CMake < 3.5 has been removed from CMake.
 .
 This change bumps the requirement level to 3.10, as it currently (as of
 cmake 4.1.1) neither errors nor warns about compatibility level too
 old.
Author: Étienne Mollier <emollier
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1113199
Forwarded: no
Last-Update: 2025-09-25
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- libshrinkwrap.orig/CMakeLists.txt
+++ libshrinkwrap/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.2)
+cmake_minimum_required(VERSION 3.10)
 project(shrinkwrap VERSION 1.2.0)
 
 include(CMakePackageConfigHelpers)