summaryrefslogtreecommitdiff
path: root/dev-util/gtk-doc/files/gtk-doc-1.34.0-cmake4.patch
blob: b6e7aaaf9486f139e63a22913e11b70085bb7bec (plain)
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
From 813e79e0147b7fbdea82dfe8927f01634f866aa5 Mon Sep 17 00:00:00 2001
From: "Benjamin A. Beasley" <code@musicinmybrain.net>
Date: Fri, 14 Mar 2025 00:58:14 -0400
Subject: [PATCH] Update CMake minimum version from 3.2 to 3.12

Support CMake 4.0 (which drops support for CMake<3.5)
---
 buildsystems/cmake/GtkDocScanGObjWrapper.cmake | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/buildsystems/cmake/GtkDocScanGObjWrapper.cmake b/buildsystems/cmake/GtkDocScanGObjWrapper.cmake
index b187ebb2..47b8d643 100644
--- a/buildsystems/cmake/GtkDocScanGObjWrapper.cmake
+++ b/buildsystems/cmake/GtkDocScanGObjWrapper.cmake
@@ -20,7 +20,7 @@
 
 # This is needed for find_package(PkgConfig) to work correctly --
 # CMAKE_MINIMUM_REQUIRED_VERSION needs to be defined.
-cmake_minimum_required(VERSION 3.2)
+cmake_minimum_required(VERSION 3.12)
 
 if(NOT APPLE)
     # We use pkg-config to find glib et al
-- 
GitLab