Skip to content

Commit

Permalink
Merge pull request IntelRealSense#13 from leggedrobotics/samuelba-pat…
Browse files Browse the repository at this point in the history
…ch-1

Add missing eigen dependency
  • Loading branch information
YoshuaNava authored Feb 25, 2019
2 parents dff7c3a + 180f272 commit 29aad2a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions realsense2_camera/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ find_package(catkin REQUIRED COMPONENTS
dynamic_reconfigure
diagnostic_updater
)

find_package(Eigen3 REQUIRED)

if(BUILD_WITH_OPENMP)
find_package(OpenMP)
Expand Down Expand Up @@ -57,6 +59,7 @@ generate_messages(
include_directories(
include
${catkin_INCLUDE_DIRS}
${EIGEN3_INCLUDE_DIR}
)

# Generate dynamic reconfigure options from .cfg files
Expand All @@ -69,6 +72,7 @@ generate_dynamic_reconfigure_options(

# RealSense ROS Node
catkin_package(
INCLUDE_DIRS include ${EIGEN3_INCLUDE_DIR}
LIBRARIES ${PROJECT_NAME}
CATKIN_DEPENDS message_runtime roscpp sensor_msgs std_msgs librealsense2
nodelet
Expand Down
2 changes: 2 additions & 0 deletions realsense2_camera/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
<build_depend>dynamic_reconfigure</build_depend>
<build_depend>diagnostic_updater</build_depend>
<build_depend>librealsense2</build_depend>
<build_depend>eigen</build_depend>
<run_depend>image_transport</run_depend>
<run_depend>cv_bridge</run_depend>
<run_depend>nodelet</run_depend>
Expand All @@ -37,6 +38,7 @@
<run_depend>dynamic_reconfigure</run_depend>
<run_depend>diagnostic_updater</run_depend>
<run_depend>librealsense2</run_depend>
<run_depend>eigen</run_depend>
<export>
<nodelet plugin="${prefix}/nodelet_plugins.xml" />
</export>
Expand Down

0 comments on commit 29aad2a

Please sign in to comment.