Fix find_package bug with pcl

This commit is contained in:
William Woodall 2013-07-10 13:35:11 -07:00
parent f9b1996498
commit 2103cd06af

View File

@ -3,6 +3,9 @@ project(pcl_conversions)
find_package(catkin REQUIRED COMPONENTS sensor_msgs std_msgs)
# This line can be removed once this is addressed:
# https://github.com/PointCloudLibrary/pcl/issues/184
find_package(PCL REQUIRED)
find_package(PCL REQUIRED COMPONENTS COMMON)
include_directories(include ${catkin_INCLUDE_DIRS} ${PCL_INCLUDE_DIRS})