diff --git a/performance_test/CMakeLists.txt b/performance_test/CMakeLists.txt index 621812d..834b70e 100644 --- a/performance_test/CMakeLists.txt +++ b/performance_test/CMakeLists.txt @@ -278,10 +278,8 @@ add_definitions(-DPERFORMANCE_TEST_VERSION="${PERF_TEST_VERSION}") rosidl_get_typesupport_target(cpp_typesupport_target "${PROJECT_NAME}" "rosidl_typesupport_cpp") -ament_target_dependencies(${EXE_NAME} - "rclcpp" ${OPTIONAL_AMENT_DEPENDENCES}) - target_link_libraries(${EXE_NAME} + "rclcpp" ${OPTIONAL_AMENT_DEPENDENCES} ${Boost_LIBRARIES} ${OPTIONAL_LIBRARIES} "${cpp_typesupport_target}")