diff options
Diffstat (limited to '0-gz-bridge-fix-version.patch')
-rw-r--r-- | 0-gz-bridge-fix-version.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/0-gz-bridge-fix-version.patch b/0-gz-bridge-fix-version.patch new file mode 100644 index 0000000..e436557 --- /dev/null +++ b/0-gz-bridge-fix-version.patch @@ -0,0 +1,20 @@ +diff -Naur ros-humble-ros-gz-bridge-0.244.9/CMakeLists.txt ros-humble-ros-gz-bridge-0.244.9_new/CMakeLists.txt +--- ros-humble-ros-gz-bridge-0.244.9/CMakeLists.txt 2022-11-03 20:52:26.000000000 +0800 ++++ ros-humble-ros-gz-bridge-0.244.9_new/CMakeLists.txt 2023-11-09 22:18:47.000000000 +0800 +@@ -43,12 +43,12 @@ + message(STATUS "Compiling against Gazebo Garden") + # Default to Fortress + else() +- find_package(ignition-transport11 REQUIRED) +- find_package(ignition-msgs8 REQUIRED) ++ find_package(ignition-transport8 REQUIRED) ++ find_package(ignition-msgs5 REQUIRED) + + set(GZ_TARGET_PREFIX ignition) +- set(GZ_MSGS_VER ${ignition-msgs8_VERSION_MAJOR}) +- set(GZ_TRANSPORT_VER ${ignition-transport11_VERSION_MAJOR}) ++ set(GZ_MSGS_VER ${ignition-msgs5_VERSION_MAJOR}) ++ set(GZ_TRANSPORT_VER ${ignition-transport8_VERSION_MAJOR}) + + message(STATUS "Compiling against Ignition Fortress") + endif() |