summaryrefslogtreecommitdiff
path: root/0-osqp-vendor-change-cmake-download.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2025-03-08 14:41:58 +0000
committerCoprDistGit <infra@openeuler.org>2025-03-08 14:41:58 +0000
commit223668fb8145dee18a01fda33ae2c9aebde53ba0 (patch)
tree30de0b76024e8c021eb7ed3a2f067b2e50bb322f /0-osqp-vendor-change-cmake-download.patch
parent9882601010a78a1aeec4ff4a136f6e5666078a65 (diff)
automatic import of ros-humble-osqp-vendoropeneuler24.03_LTS
Diffstat (limited to '0-osqp-vendor-change-cmake-download.patch')
-rw-r--r--0-osqp-vendor-change-cmake-download.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/0-osqp-vendor-change-cmake-download.patch b/0-osqp-vendor-change-cmake-download.patch
new file mode 100644
index 0000000..bc5bc6f
--- /dev/null
+++ b/0-osqp-vendor-change-cmake-download.patch
@@ -0,0 +1,15 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index b17c512..ef7a27f 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -21,9 +21,7 @@ macro(build_osqp)
+
+ include(ExternalProject)
+ externalproject_add(osqp-${git_tag}
+- GIT_REPOSITORY https://github.com/osqp/osqp.git
+- GIT_TAG ${git_tag}
+- GIT_SHALLOW ON
++ URL ${CMAKE_SOURCE_DIR}/osqp-${git_tag}.tar.gz
+ TIMEOUT 60
+ # Suppress git update due to https://gitlab.kitware.com/cmake/cmake/-/issues/16419
+ UPDATE_COMMAND ""