File: cmake-policy.patch

package info (click to toggle)
libdrpm 0.5.2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 908 kB
  • sloc: ansic: 8,372; python: 133; sh: 131; makefile: 8
file content (14 lines) | stat: -rw-r--r-- 331 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Description: Bump the CMake minimum policy version to 3.5
 Unbreak the build with CMake 4.x.
Forwarded: no
Author: Peter Pentchev <roam@ringlet.net>
Last-Update: 2025-10-05

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 2.8.5)
+cmake_minimum_required(VERSION 3.5.0)
 
 project(drpm C)