mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
- 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>
21 lines
537 B
Diff
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)
|