Skip to content

Commit

Permalink
Make sure to make sensor_msgs a catkin dependency. (#123)
Browse files Browse the repository at this point in the history
Otherwise, the build can fail.

Signed-off-by: Chris Lalancette <[email protected]>
  • Loading branch information
clalancette authored Oct 23, 2019
1 parent 50f1352 commit fe661c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ endif()

find_package(orocos_kdl REQUIRED)
find_package(catkin REQUIRED
COMPONENTS roscpp rosconsole rostime tf tf2_ros tf2_kdl kdl_parser
COMPONENTS kdl_parser roscpp rosconsole rostime sensor_msgs tf tf2_ros tf2_kdl
)
find_package(Eigen3 REQUIRED)

Expand All @@ -33,7 +33,7 @@ find_package(urdfdom_headers REQUIRED)
catkin_package(
LIBRARIES ${PROJECT_NAME}_solver joint_state_listener
INCLUDE_DIRS include
DEPENDS roscpp rosconsole rostime tf2_ros tf2_kdl kdl_parser orocos_kdl urdfdom_headers
DEPENDS kdl_parser orocos_kdl roscpp rosconsole rostime sensor_msgs tf2_ros tf2_kdl urdfdom_headers
)

include_directories(SYSTEM ${EIGEN3_INCLUDE_DIRS})
Expand Down

0 comments on commit fe661c1

Please sign in to comment.