summaryrefslogtreecommitdiff
path: root/0-fmilibrary-vendor-change-cmake-download.patch
diff options
context:
space:
mode:
Diffstat (limited to '0-fmilibrary-vendor-change-cmake-download.patch')
-rw-r--r--0-fmilibrary-vendor-change-cmake-download.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/0-fmilibrary-vendor-change-cmake-download.patch b/0-fmilibrary-vendor-change-cmake-download.patch
new file mode 100644
index 0000000..62f5bac
--- /dev/null
+++ b/0-fmilibrary-vendor-change-cmake-download.patch
@@ -0,0 +1,13 @@
+--- ros-humble-fmilibrary-vendor-1.0.1.orig/CMakeLists.txt 2022-04-21 05:46:13.000000000 +0800
++++ ros-humble-fmilibrary-vendor-1.0.1/CMakeLists.txt 2023-06-19 09:49:45.621927109 +0800
+@@ -6,9 +6,7 @@
+ include(ExternalProject)
+ set(fmilibrary_version 2.2.3)
+ externalproject_add(FMILibraryProject-${fmilibrary_version}
+- GIT_REPOSITORY https://github.com/modelon-community/fmi-library.git
+- GIT_TAG ${fmilibrary_version}
+- GIT_CONFIG advice.detachedHead=false
++ URL ${CMAKE_CURRENT_SOURCE_DIR}/fmi-library-${fmilibrary_version}.tar.gz
+ # Suppress git update due to https://gitlab.kitware.com/cmake/cmake/-/issues/16419
+ UPDATE_COMMAND ""
+ TIMEOUT 60