Find Qt5Widgets to fix -lQt5::Widgets error

This commit is contained in:
Kentaro Wada 2017-04-28 16:21:42 +00:00 committed by Paul Bovbel
parent fb2d0c6955
commit cddbb655bc

View File

@ -6,6 +6,8 @@ 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 REQUIRED)
# For debian: https://github.com/ros-perception/perception_pcl/issues/139
find_package(Qt5Widgets QUIET)
if(NOT "${PCL_LIBRARIES}" STREQUAL "") if(NOT "${PCL_LIBRARIES}" STREQUAL "")
list(REMOVE_ITEM PCL_LIBRARIES "vtkproj4") list(REMOVE_ITEM PCL_LIBRARIES "vtkproj4")