fix Eigen dependency

This commit is contained in:
Paul Bovbel 2014-04-08 22:34:30 +00:00
parent 702f553335
commit 388c0dc0ff

View File

@ -1,11 +1,12 @@
cmake_minimum_required(VERSION 2.8.3)
project(pcl_conversions)
find_package(catkin REQUIRED COMPONENTS pcl_msgs roscpp sensor_msgs std_msgs)
find_package(catkin REQUIRED COMPONENTS pcl_msgs roscpp sensor_msgs std_msgs cmake_modules)
find_package(PCL REQUIRED QUIET COMPONENTS common)
find_package(Eigen REQUIRED)
include_directories(include ${catkin_INCLUDE_DIRS} ${PCL_COMMON_INCLUDE_DIRS})
include_directories(include ${catkin_INCLUDE_DIRS} ${PCL_COMMON_INCLUDE_DIRS} ${Eigen_INCLUDE_DIRS})
catkin_package(
INCLUDE_DIRS include ${PCL_COMMON_INCLUDE_DIRS}