File: cmake_update.patch

package info (click to toggle)
gflags 2.2.2-3
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 804 kB
  • sloc: cpp: 3,918; python: 36; sh: 22; makefile: 18
file content (20 lines) | stat: -rw-r--r-- 569 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Description: upgrade minimum cmake version
 Set minimum cmake version to 3.25 which exists in Bookworm (oldstable).
Author: Laszlo Boszormenyi (GCS) <gcs@debian.org>
Bug-Debian: https://bugs.debian.org/1112950
Forwarded: no
Last-Update: 2025-09-30

---

--- gflags-2.2.2.orig/CMakeLists.txt
+++ gflags-2.2.2/CMakeLists.txt
@@ -70,7 +70,7 @@
 ## - GFLAGS_INSTALL_SHARED_LIBS
 ## - GFLAGS_INSTALL_STATIC_LIBS
 
-cmake_minimum_required (VERSION 3.0.2 FATAL_ERROR)
+cmake_minimum_required (VERSION 3.25 FATAL_ERROR)
 
 if (POLICY CMP0042)
   cmake_policy (SET CMP0042 NEW)