lzmq: add patch for CMake >= 4.0 support
authorChristian Marangi <[email protected]>
Sun, 23 Nov 2025 22:47:47 +0000 (23:47 +0100)
committerChristian Marangi <[email protected]>
Sun, 23 Nov 2025 22:48:59 +0000 (23:48 +0100)
Add patch for lzmq for CMake >= 4.0 support.

Signed-off-by: Christian Marangi <[email protected]>
lang/lua/lzmq/patches/100-CMakeLists-update-min-version-to-3.10-for-CMake-4.0-.patch [new file with mode: 0644]

diff --git a/lang/lua/lzmq/patches/100-CMakeLists-update-min-version-to-3.10-for-CMake-4.0-.patch b/lang/lua/lzmq/patches/100-CMakeLists-update-min-version-to-3.10-for-CMake-4.0-.patch
new file mode 100644 (file)
index 0000000..e16aa28
--- /dev/null
@@ -0,0 +1,25 @@
+From 451c59e4d853badb0a1e82bbf18f5cbb0c851e8d Mon Sep 17 00:00:00 2001
+From: Christian Marangi <[email protected]>
+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 <[email protected]>
+---
+ 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 )