summaryrefslogtreecommitdiff
path: root/0-nlohmann-json-schema-validator-vendor-cmake-download.patch
blob: 5a8feb5ae681c5148fa957b9184c2df18a419651 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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}