diff options
| author | Hannu Nyman | 2025-10-07 15:30:01 +0000 |
|---|---|---|
| committer | Christian Marangi | 2025-11-04 14:14:53 +0000 |
| commit | 3969335815622a13373df36e6b1ea0f59322b795 (patch) | |
| tree | 69f0535c334602394b7ff775206f4bf70d5fc180 | |
| parent | dbbfe5256824f8006bd50d0111ec7e5d93545d01 (diff) | |
| download | openwrt-3969335815622a13373df36e6b1ea0f59322b795.tar.gz | |
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>
| -rw-r--r-- | tools/liblzo/patches/002-cmake-4.0-compatibility.patch | 11 |
1 files changed, 11 insertions, 0 deletions
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): |