summaryrefslogtreecommitdiff
path: root/0-pybind11-json-vendor-change-cmake-download.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2025-03-08 16:00:28 +0000
committerCoprDistGit <infra@openeuler.org>2025-03-08 16:00:28 +0000
commit1f2976c1160e93ec0923c0b4f109cb81ba11bf2b (patch)
tree2c8f8bc230e57e96106caa09dc93e142722f60d1 /0-pybind11-json-vendor-change-cmake-download.patch
parentd044ff5af7a8b5887ab95582af353e5ce34cbb12 (diff)
automatic import of ros-humble-pybind11-json-vendoropeneuler24.03_LTS
Diffstat (limited to '0-pybind11-json-vendor-change-cmake-download.patch')
-rw-r--r--0-pybind11-json-vendor-change-cmake-download.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/0-pybind11-json-vendor-change-cmake-download.patch b/0-pybind11-json-vendor-change-cmake-download.patch
new file mode 100644
index 0000000..1be9ba6
--- /dev/null
+++ b/0-pybind11-json-vendor-change-cmake-download.patch
@@ -0,0 +1,15 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 733471d..eed3268 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -23,9 +23,7 @@ if(NOT pybind11_json_FOUND)
+ include(ExternalProject)
+ set(pybind11_json_version 0fbbe3bbb27bd07a5ec7d71cbb1f17eaf4d37702)
+ ExternalProject_Add(pybind11_json-${pybind11_json_version}
+- GIT_REPOSITORY https://github.com/pybind/pybind11_json.git
+- GIT_TAG ${pybind11_json_version}
+- GIT_CONFIG advice.detachedHead=false
++ URL ${CMAKE_CURRENT_SOURCE_DIR}/pybind11_json-${pybind11_json_version}.tar.gz
+ # Suppress git update due to https://gitlab.kitware.com/cmake/cmake/-/issues/16419
+ UPDATE_COMMAND ""
+ CMAKE_ARGS