lucihttp: adjust to cmake 4.x compatibility
authorHannu Nyman <[email protected]>
Tue, 7 Oct 2025 15:56:21 +0000 (18:56 +0300)
committerHannu Nyman <[email protected]>
Tue, 7 Oct 2025 15:56:21 +0000 (18:56 +0300)
New cmake versions require at least 3.5 as 'cmake_minimum_required'
in CMakeLists.txt. In future 3.10 will be required.

Signed-off-by: Hannu Nyman <[email protected]>
contrib/package/lucihttp/patches/001-cmake.patch [new file with mode: 0644]

diff --git a/contrib/package/lucihttp/patches/001-cmake.patch b/contrib/package/lucihttp/patches/001-cmake.patch
new file mode 100644 (file)
index 0000000..6d2d49c
--- /dev/null
@@ -0,0 +1,8 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -1,4 +1,4 @@
+-cmake_minimum_required(VERSION 2.6)
++cmake_minimum_required(VERSION 3.10)
+ PROJECT(liblucihttp C)