summaryrefslogtreecommitdiff
path: root/0-nlohmann-json-schema-validator-vendor-cmake-download.patch
diff options
context:
space:
mode:
Diffstat (limited to '0-nlohmann-json-schema-validator-vendor-cmake-download.patch')
-rw-r--r--0-nlohmann-json-schema-validator-vendor-cmake-download.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/0-nlohmann-json-schema-validator-vendor-cmake-download.patch b/0-nlohmann-json-schema-validator-vendor-cmake-download.patch
new file mode 100644
index 0000000..5a8feb5
--- /dev/null
+++ b/0-nlohmann-json-schema-validator-vendor-cmake-download.patch
@@ -0,0 +1,15 @@
+--- ros-humble-nlohmann-json-schema-validator-vendor-0.2.4.orig/CMakeLists.txt 2022-12-02 15:42:18.000000000 +0800
++++ ros-humble-nlohmann-json-schema-validator-vendor-0.2.4/CMakeLists.txt 2023-06-19 12:02:47.152041158 +0800
+@@ -60,11 +60,7 @@
+ # HEAD of `main` branch on 2022-10-07
+ set(nlohmann_json_schema_validator_version "5ef4f903af055550e06955973a193e17efded896")
+ externalproject_add(nlohmann_json_schema_validator-${nlohmann_json_schema_validator_version}
+- GIT_REPOSITORY https://github.com/pboettch/json-schema-validator.git
+- GIT_TAG ${nlohmann_json_schema_validator_version}
+- GIT_CONFIG advice.detachedHead=false
+- # Suppress git update due to https://gitlab.kitware.com/cmake/cmake/-/issues/16419
+- UPDATE_COMMAND ""
++ URL ${CMAKE_CURRENT_SOURCE_DIR}/json-schema-validator-5ef4f903af055550e06955973a193e17efded896.tar.gz
+ TIMEOUT 6000
+ PATCH_COMMAND patch -p1 < ${CMAKE_CURRENT_LIST_DIR}/patch_cmakelist
+ ${cmake_commands}