mirror of
https://github.com/openwrt/packages.git
synced 2026-04-15 19:02:09 +00:00
Starting cmake 4.0, anything under 3.5 produces an error, see https://cmake.org/cmake/help/latest/command/cmake_minimum_required.html#policy-version Use a patch instead of CMAKE_OPTIONS so we don't forget to remove this hack. Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
10 lines
204 B
Diff
10 lines
204 B
Diff
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -1,5 +1,5 @@
|
|
set(CMAKE_LEGACY_CYGWIN_WIN32 0)
|
|
-cmake_minimum_required(VERSION 3.0)
|
|
+cmake_minimum_required(VERSION 3.10)
|
|
|
|
project(cJSON
|
|
VERSION 1.7.19
|