Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

manually remove dependency on vtkproj from PCL_LIBRARIES #121

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 5 additions & 1 deletion pcl_ros/CMakeLists.txt
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions pcl_ros/package.xml
Expand Up @@ -40,6 +40,8 @@
<build_depend>tf</build_depend>
<build_depend>python-vtk</build_depend>
<build_depend>libvtk-java</build_depend>
<!-- libproj-dev needed due to error in vtk6 -->
<build_depend>libproj-dev</build_depend>

<run_depend>dynamic_reconfigure</run_depend>
<run_depend>eigen</run_depend>
Expand Down