mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-16 12:37:34 +08:00
Simplify gz bridge CMakeLists and add GZ Ionic (#23657)
Co-authored-by: jmackay2 <jmackay2@gmail.com>
This commit is contained in:
@@ -32,13 +32,8 @@
|
||||
############################################################################
|
||||
|
||||
# Find the gz_Transport library
|
||||
# First look for GZ Harmonic libraries
|
||||
find_package(gz-transport NAMES gz-transport13)
|
||||
|
||||
# If Harmonic not found, look for GZ Garden libraries
|
||||
if(NOT gz-transport_FOUND)
|
||||
find_package(gz-transport NAMES gz-transport12)
|
||||
endif()
|
||||
# Look for GZ Ionic, Harmonic, and Garden library options in that order
|
||||
find_package(gz-transport NAMES gz-transport14 gz-transport13 gz-transport12)
|
||||
|
||||
if(gz-transport_FOUND)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user