Revert "Fix PCL linking issue in Zesty (#396)" (#574)

This reverts commit 125aee3011.

This got fixed upstream, so perception_pcl (8b32dcd078) did remove this hack too.
master
Juraj Oršulić 2017-11-10 14:38:31 +01:00 committed by Wally B. Feed
parent d0697e6847
commit ef57b43323
1 changed files with 0 additions and 6 deletions

View File

@ -47,12 +47,6 @@ include(FindPkgConfig)
find_package(LuaGoogle REQUIRED) find_package(LuaGoogle REQUIRED)
find_package(PCL REQUIRED COMPONENTS common io) find_package(PCL REQUIRED COMPONENTS common io)
# Fix for PCL linking issue in Zesty, as in
# https://github.com/ros-perception/perception_pcl/blob/b53b5d5c3abc7c3afde8a77177674e6d74c59522/pcl_ros/CMakeLists.txt#L12
if(NOT "${PCL_LIBRARIES}" STREQUAL "")
# FIXME: this causes duplicates and not found error in ubuntu:zesty
list(REMOVE_ITEM PCL_LIBRARIES "/usr/lib/libmpi.so")
endif()
find_package(Eigen3 REQUIRED) find_package(Eigen3 REQUIRED)
find_package(Boost REQUIRED COMPONENTS system iostreams) find_package(Boost REQUIRED COMPONENTS system iostreams)