manually remove dependency on vtkproj from PCL_LIBRARIES

This commit is contained in:
Jackie Kay 2016-04-21 15:18:33 -07:00 committed by Paul Bovbel
parent 96f6657b23
commit 7fd1bac676

View File

@ -5,7 +5,11 @@ 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 1.7 REQUIRED)
if(NOT "${PCL_LIBRARIES}" STREQUAL "")
list(REMOVE_ITEM PCL_LIBRARIES "vtkproj4")
endif()
## Find catkin packages
find_package(catkin REQUIRED COMPONENTS