mio c18778674a community/lua-rapidjson: update cmake minimum required version
Update the cmake minimum required version to rebuild with cmake >= 4.

```
CMake Error at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.5 has been removed from CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.

  Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
```
2025-11-03 16:56:50 +01:00

23 lines
762 B
Diff

Patch-Source: https://github.com/xpol/lua-rapidjson/commit/5dc6fad188f6c3fad47e97ff977db3ef2eb26065
---
From 5dc6fad188f6c3fad47e97ff977db3ef2eb26065 Mon Sep 17 00:00:00 2001
From: ssspivey <sspivey@novaspect.com>
Date: Tue, 19 Aug 2025 14:59:26 -0400
Subject: [PATCH] change cmake version and test
---
CMakeLists.txt | 2 +-
rapidjson-0.7.1-2.rockspec | 28 ++++++++++++++++++++++++++++
2 files changed, 29 insertions(+), 1 deletion(-)
create mode 100644 rapidjson-0.7.1-2.rockspec
diff --git a/CMakeLists.txt b/CMakeLists.txt
index ddc8716..e2b178f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 2.8.0 FATAL_ERROR)
+cmake_minimum_required(VERSION 3.5.0 FATAL_ERROR)
project(lua-rapidjson)