Skip to content

Commit

Permalink
[rcl_action] Clean up CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobperron committed Nov 21, 2018
1 parent ce8ac5e commit f39ac3c
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions rcl_action/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,11 @@ add_library(${PROJECT_NAME}
)

ament_target_dependencies(${PROJECT_NAME}
"rosidl_generator_c"
"action_msgs"
"rmw"
"rcutils"
"rcl"
"rcutils"
"rmw"
"rosidl_generator_c"
)
# Causes the visibility macros to use dllexport rather than dllimport,
# which is appropriate when building the dll but not consuming it.
Expand All @@ -75,7 +75,6 @@ install(TARGETS ${PROJECT_NAME}
)

if(BUILD_TESTING)
find_package(test_msgs REQUIRED)
find_package(ament_cmake_gtest REQUIRED)
find_package(ament_lint_auto REQUIRED)
find_package(test_msgs REQUIRED)
Expand All @@ -101,7 +100,6 @@ if(BUILD_TESTING)
target_include_directories(test_action_communication PUBLIC
include
${rcl_INCLUDE_DIRS}
${test_msgs_INCLUDE_DIRS}
)
target_link_libraries(test_action_communication
${PROJECT_NAME}
Expand All @@ -115,7 +113,6 @@ if(BUILD_TESTING)
target_include_directories(test_action_server PUBLIC
include
${rcl_INCLUDE_DIRS}
${test_msgs_INCLUDE_DIRS}
)
target_link_libraries(test_action_server
${PROJECT_NAME}
Expand Down

0 comments on commit f39ac3c

Please sign in to comment.