]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
tools: lzop: add patch bumping minimum CMake version to 3.5 19813/head
authorNick Hainke <vincent@systemli.org>
Tue, 19 Aug 2025 20:40:12 +0000 (22:40 +0200)
committerNick Hainke <vincent@systemli.org>
Wed, 20 Aug 2025 12:56:47 +0000 (14:56 +0200)
Recent CMake releases require at least version 3.5.

Link: https://github.com/openwrt/openwrt/pull/19813
Signed-off-by: Nick Hainke <vincent@systemli.org>
tools/lzop/patches/002-bump-minimum-cmake-version.patch [new file with mode: 0644]

diff --git a/tools/lzop/patches/002-bump-minimum-cmake-version.patch b/tools/lzop/patches/002-bump-minimum-cmake-version.patch
new file mode 100644 (file)
index 0000000..62a389e
--- /dev/null
@@ -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.5 FATAL_ERROR)
+ #
+ # simple usage example (Unix):