Simplify gz bridge CMakeLists and add GZ Ionic (#23657)

Co-authored-by: jmackay2 <jmackay2@gmail.com>
This commit is contained in:
jmackay2 2024-09-10 05:53:00 -04:00 committed by GitHub
parent 15e9c65a8f
commit a5729da4e9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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