Skip to content

Commit

Permalink
drop unnecessary cmake dependency on moveit_resources (#3343)
Browse files Browse the repository at this point in the history
It is only needed at runtime for the ROS tests and there's no need to find_package().
  • Loading branch information
v4hn committed Feb 15, 2023
1 parent b32af6a commit a7684e7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion moveit_ros/planning/moveit_cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ target_link_libraries(${MOVEIT_LIB_NAME}
add_dependencies(${MOVEIT_LIB_NAME} ${catkin_EXPORTED_TARGETS})

if (CATKIN_ENABLE_TESTING)
find_package(moveit_resources_panda_moveit_config REQUIRED)
find_package(rostest REQUIRED)

add_rostest_gtest(moveit_cpp_test test/moveit_cpp_test.test test/moveit_cpp_test.cpp)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ install(TARGETS ${MOVEIT_LIB_NAME}
install(DIRECTORY include/ DESTINATION ${CATKIN_GLOBAL_INCLUDE_DESTINATION})

if(CATKIN_ENABLE_TESTING)
find_package(moveit_resources_panda_moveit_config REQUIRED)
find_package(rostest REQUIRED)

add_rostest_gtest(test_execution_manager
Expand Down

0 comments on commit a7684e7

Please sign in to comment.