From ddb9a5d0b91e595a93609f25fbb47a7bf07905be Mon Sep 17 00:00:00 2001 From: Matthias Grob Date: Fri, 28 Mar 2025 19:11:56 +0100 Subject: [PATCH] gz_plugins: do not look for gz-transport12 (Gazebo garden) (#24633) this tries to build the plugins and breaks the SITL build if you have Gazebo garden isntalled even if you're not trying to simulate with Gazebo. --- src/modules/simulation/gz_plugins/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/simulation/gz_plugins/CMakeLists.txt b/src/modules/simulation/gz_plugins/CMakeLists.txt index eab0df2204..f9ac9e6395 100644 --- a/src/modules/simulation/gz_plugins/CMakeLists.txt +++ b/src/modules/simulation/gz_plugins/CMakeLists.txt @@ -34,7 +34,7 @@ project(px4_gz_plugins) if(NOT DEFINED ENV{GZ_DISTRO} OR NOT "$ENV{GZ_DISTRO}" STREQUAL "harmonic") - find_package(gz-transport NAMES gz-transport14 gz-transport13 gz-transport12) + find_package(gz-transport NAMES gz-transport14 gz-transport13) find_package(gz-sim NAMES gz-sim9 gz-sim8) find_package(gz-sensors NAMES gz-sensors9 gz-sensors8) find_package(gz-plugin NAMES gz-plugin3 gz-plugin2 COMPONENTS register)