diff --git a/simgear/io/CMakeLists.txt b/simgear/io/CMakeLists.txt index c0b9c54a..9b739bf1 100644 --- a/simgear/io/CMakeLists.txt +++ b/simgear/io/CMakeLists.txt @@ -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}")