mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-01 02:55:07 +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
|
# Find the gz_Transport library
|
||||||
# First look for GZ Harmonic libraries
|
# Look for GZ Ionic, Harmonic, and Garden library options in that order
|
||||||
find_package(gz-transport NAMES gz-transport13)
|
find_package(gz-transport NAMES gz-transport14 gz-transport13 gz-transport12)
|
||||||
|
|
||||||
# If Harmonic not found, look for GZ Garden libraries
|
|
||||||
if(NOT gz-transport_FOUND)
|
|
||||||
find_package(gz-transport NAMES gz-transport12)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
if(gz-transport_FOUND)
|
if(gz-transport_FOUND)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user