manually remove dependency on vtkproj from PCL_LIBRARIES
This commit is contained in:
parent
96f6657b23
commit
7fd1bac676
@ -5,7 +5,11 @@ project(pcl_ros)
|
|||||||
find_package(cmake_modules REQUIRED)
|
find_package(cmake_modules REQUIRED)
|
||||||
find_package(Boost REQUIRED COMPONENTS system filesystem thread)
|
find_package(Boost REQUIRED COMPONENTS system filesystem thread)
|
||||||
find_package(Eigen3 REQUIRED)
|
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 catkin packages
|
||||||
find_package(catkin REQUIRED COMPONENTS
|
find_package(catkin REQUIRED COMPONENTS
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user