From: Hannu Nyman Date: Tue, 7 Oct 2025 15:30:01 +0000 (+0300) Subject: tools/liblzo: add cmake 4.x compatibility X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=3969335815622a13373df36e6b1ea0f59322b795;p=openwrt%2Fstaging%2Fblocktrron.git 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 Link: https://github.com/openwrt/openwrt/pull/20265 Signed-off-by: Christian Marangi --- 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):