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.
This commit is contained in:
Matthias Grob 2025-03-28 19:11:56 +01:00 committed by GitHub
parent 2c8ef05c2d
commit ddb9a5d0b9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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)