Skip to content

Commit fae73db

Browse files
committed
Patch rapidjson CMake
1 parent 02a96f6 commit fae73db

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

patches/rapidjson/rapidjson.patch

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
diff --git a/CMakeLists.txt b/CMakeLists.txt
2+
index dd1f173d..2351badd 100644
3+
--- a/CMakeLists.txt
4+
+++ b/CMakeLists.txt
5+
@@ -1,4 +1,4 @@
6+
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
7+
+CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12...3.29)
8+
if(POLICY CMP0025)
9+
# detect Apple's Clang
10+
cmake_policy(SET CMP0025 NEW)

0 commit comments

Comments
 (0)