Files
gentoo/dev-libs/rapidjson/files/rapidjson-1.1.1-cmake4.patch
Holger Hoffstätte 7075cae6f7 dev-libs/rapidjson: update 9999 to build & pass tests
- update cmake4 patch
- remove optional valgrind patch since it was merged upstream

This builds & passes all tests with gcc-16.

Bug: https://bugs.gentoo.org/969615
Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com>
Part-of: https://codeberg.org/gentoo/gentoo/pulls/801
Signed-off-by: Sam James <sam@gentoo.org>
2026-05-05 18:49:01 +01:00

21 lines
537 B
Diff

https://bugs.gentoo.org/951839
https://github.com/Tencent/rapidjson/issues/2159 fixed in git already
Update further to min. 3.10.
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,4 +1,4 @@
-CMAKE_MINIMUM_REQUIRED(VERSION 3.5)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.10)
SET(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/CMakeModules)
--- a/example/CMakeLists.txt
+++ b/example/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 2.8)
+cmake_minimum_required(VERSION 3.10)
if(POLICY CMP0054)
cmake_policy(SET CMP0054 NEW)