Browse Source

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 <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20265
Signed-off-by: Christian Marangi <[email protected]>
Hannu Nyman 5 months ago
parent
commit
3969335815
1 changed files with 11 additions and 0 deletions
  1. 11 0
      tools/liblzo/patches/002-cmake-4.0-compatibility.patch

+ 11 - 0
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):