mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2025-12-10 06:24:40 +01:00
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@iki.fi> Link: https://github.com/openwrt/openwrt/pull/20265 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
This commit is contained in:
parent
dbbfe52568
commit
3969335815
1 changed files with 11 additions and 0 deletions
11
tools/liblzo/patches/002-cmake-4.0-compatibility.patch
Normal file
11
tools/liblzo/patches/002-cmake-4.0-compatibility.patch
Normal file
|
|
@ -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):
|
||||
Loading…
Add table
Reference in a new issue