[rcl action] Cleanup CMake code for test_action_client.

This commit is contained in:
Michel Hidalgo 2018-11-13 12:03:05 -03:00
parent 0c31382165
commit f2afddc910

View file

@ -79,13 +79,12 @@ if(BUILD_TESTING)
) )
if(TARGET test_action_client) if(TARGET test_action_client)
target_include_directories(test_action_client PUBLIC target_include_directories(test_action_client PUBLIC
${rcl_INCLUDE_DIRS} include
${test_msgs_INCLUDE_DIRS}
) )
target_link_libraries(test_action_client target_link_libraries(test_action_client
${PROJECT_NAME} ${PROJECT_NAME}
${test_msgs_LIBRARIES}
) )
ament_target_dependencies(test_action_client "rcl" "test_msgs")
endif() endif()
ament_add_gtest(test_goal_handle ament_add_gtest(test_goal_handle
test/rcl_action/test_goal_handle.cpp test/rcl_action/test_goal_handle.cpp