summaryrefslogtreecommitdiffstats
path: root/lang/lua/lzmq/patches/100-CMakeLists-update-min-version-to-3.10-for-CMake-4.0-.patch
blob: e16aa28847dfcb5b2300271ea03ad1960a12f81e (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
From 451c59e4d853badb0a1e82bbf18f5cbb0c851e8d Mon Sep 17 00:00:00 2001
From: Christian Marangi <ansuelsmth@gmail.com>
Date: Sun, 23 Nov 2025 23:43:13 +0100
Subject: [PATCH] CMakeLists: update min version to 3.10 for CMake >= 4.0
 support

Update minimum version of CMake to 3.10 for CMake >= 4.0 version
support.

New CMake require 3.5 as the minimum version with that increased to 3.10
in the next CMake release.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
---
 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required ( VERSION 2.8 )
+cmake_minimum_required ( VERSION 3.10 )
 
 project ( lzmq C )
 include ( cmake/dist.cmake )