From 5f2a35fba85a2fc7ecf8db7596d8def806b6a187 Mon Sep 17 00:00:00 2001 From: JLBuenoLopez-eProsima Date: Mon, 27 Nov 2023 07:45:06 +0100 Subject: [PATCH] Refs #19648: fix test linkage Signed-off-by: JLBuenoLopez-eProsima --- test/unittest/dds/xtypes/type_representation/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unittest/dds/xtypes/type_representation/CMakeLists.txt b/test/unittest/dds/xtypes/type_representation/CMakeLists.txt index 8fbaecd8bea..916403ba320 100644 --- a/test/unittest/dds/xtypes/type_representation/CMakeLists.txt +++ b/test/unittest/dds/xtypes/type_representation/CMakeLists.txt @@ -27,7 +27,7 @@ target_include_directories(TypeObjectUtilsTests PRIVATE ${PROJECT_SOURCE_DIR}/include ${PROJECT_BINARY_DIR}/include ${PROJECT_SOURCE_DIR}/src/cpp ) -target_link_libraries(TypeObjectUtilsTests fastrtps +target_link_libraries(TypeObjectUtilsTests fastrtps fastcdr GTest::gtest ${CMAKE_DL_LIBS}) gtest_discover_tests(TypeObjectUtilsTests SOURCES ${TYPEOBJECTUTILSTESTS_SOURCE})