From 7db66519709daef4eabd5acf08a57463ce15ce9d Mon Sep 17 00:00:00 2001 From: James Turner Date: Mon, 12 Jul 2021 09:29:10 +0100 Subject: [PATCH] Fix Cyclone-DDS test linkage --- simgear/io/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) 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}")