diff --git a/Makefile b/Makefile index e4c96a669..37fc91c30 100644 --- a/Makefile +++ b/Makefile @@ -436,6 +436,7 @@ build/docker_ci_image: patch_duckdb: (find patches/duckdb/* -type f -name '*.patch' -print0 | xargs -0 cat | patch -p1 --forward -d submodules/duckdb) || true (find patches/arrow/* -type f -name '*.patch' -print0 | xargs -0 cat | patch -p1 --forward -d submodules/arrow) || true + (find patches/rapidjson/* -type f -name '*.patch' -print0 | xargs -0 cat | patch -p1 --forward -d submodules/rapidjson) || true apply_patches: patch_duckdb diff --git a/patches/rapidjson/cmake_minimum_required.patch b/patches/rapidjson/cmake_minimum_required.patch new file mode 100644 index 000000000..2b436915d --- /dev/null +++ b/patches/rapidjson/cmake_minimum_required.patch @@ -0,0 +1,10 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index dd1f173..2351bad 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1,4 +1,4 @@ +-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12) ++CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12...3.29) + if(POLICY CMP0025) + # detect Apple's Clang + cmake_policy(SET CMP0025 NEW)