Use the find_dependency option to parse Simgear dependencies to FlightGear

This commit is contained in:
Erik Hofman
2021-03-08 16:15:14 +01:00
parent 023364e245
commit c0205f7eb2
3 changed files with 12 additions and 3 deletions
+6
View File
@@ -17,6 +17,12 @@ set(SIMGEAR_SHARED @SIMGEAR_SHARED@)
set(ENABLE_SIMD @ENABLE_SIMD@)
# SycloneDDS support
set(SG_HAVE_DDS @SG_HAVE_DDS@)
if(SG_HAVE_DDS)
find_dependency(CycloneDDS)
endif()
# OpenRTI support
set(ENABLE_RTI @ENABLE_RTI@)
if(ENABLE_RTI)