Fix Cyclone-DDS test linkage

This commit is contained in:
James Turner 2021-07-12 09:29:10 +01:00
parent b50d8e38e6
commit 7db6651970

View File

@ -56,6 +56,7 @@ if (CycloneDDS_FOUND)
SGDataDistributionService.cxx
)
add_simgear_test(test_dds test_dds.cxx)
target_link_libraries(test_dds CycloneDDS::ddsc)
endif (CycloneDDS_FOUND)
simgear_component(io io "${SOURCES}" "${HEADERS}")