From cddbb655bc5c0825562dfa743799e5c6d28dabe3 Mon Sep 17 00:00:00 2001 From: Kentaro Wada Date: Fri, 28 Apr 2017 16:21:42 +0000 Subject: [PATCH] Find Qt5Widgets to fix -lQt5::Widgets error --- pcl_ros/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pcl_ros/CMakeLists.txt b/pcl_ros/CMakeLists.txt index 633059ae..dd97155d 100644 --- a/pcl_ros/CMakeLists.txt +++ b/pcl_ros/CMakeLists.txt @@ -6,6 +6,8 @@ find_package(cmake_modules REQUIRED) find_package(Boost REQUIRED COMPONENTS system filesystem thread) find_package(Eigen3 REQUIRED) find_package(PCL REQUIRED) +# For debian: https://github.com/ros-perception/perception_pcl/issues/139 +find_package(Qt5Widgets QUIET) if(NOT "${PCL_LIBRARIES}" STREQUAL "") list(REMOVE_ITEM PCL_LIBRARIES "vtkproj4")