find only PCL components used instead of all PCL

This commit is contained in:
Mikael Arguedas 2017-07-14 23:57:34 +00:00 committed by Paul Bovbel
parent 3d23cce807
commit 5a8d278fb9

View File

@ -5,7 +5,7 @@ project(pcl_ros)
find_package(cmake_modules REQUIRED)
find_package(Boost REQUIRED COMPONENTS system filesystem thread)
find_package(Eigen3 REQUIRED)
find_package(PCL REQUIRED)
find_package(PCL REQUIRED COMPONENTS core io surface)
# For debian: https://github.com/ros-perception/perception_pcl/issues/139
find_package(Qt5Widgets QUIET)