[rcl action] Cleanup CMake code for test_action_client.
This commit is contained in:
parent
0c31382165
commit
f2afddc910
1 changed files with 2 additions and 3 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue