[openwrt/openwrt] tools/liblzo: add cmake 4.x compatibility
LEDE Commits
lede-commits at lists.infradead.org
Tue Nov 4 06:15:03 PST 2025
ansuel pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/3969335815622a13373df36e6b1ea0f59322b795
commit 3969335815622a13373df36e6b1ea0f59322b795
Author: Hannu Nyman <hannu.nyman at iki.fi>
AuthorDate: Tue Oct 7 18:30:01 2025 +0300
tools/liblzo: add cmake 4.x compatibility
Patch CMakeLists.txt to fulfill cmake 4.0 requirements
of cmake_minimum_required being at least 3.5 and in future 3.10.
Signed-off-by: Hannu Nyman <hannu.nyman at iki.fi>
Link: https://github.com/openwrt/openwrt/pull/20265
Signed-off-by: Christian Marangi <ansuelsmth at gmail.com>
---
tools/liblzo/patches/002-cmake-4.0-compatibility.patch | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/tools/liblzo/patches/002-cmake-4.0-compatibility.patch b/tools/liblzo/patches/002-cmake-4.0-compatibility.patch
new file mode 100644
index 0000000000..90b551ab32
--- /dev/null
+++ b/tools/liblzo/patches/002-cmake-4.0-compatibility.patch
@@ -0,0 +1,11 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -8,7 +8,7 @@
+ # All Rights Reserved.
+ #
+
+-cmake_minimum_required(VERSION 3.0 FATAL_ERROR)
++cmake_minimum_required(VERSION 3.10)
+
+ #
+ # simple usage example (Unix):
More information about the lede-commits
mailing list