Find Qt5Widgets to fix -lQt5::Widgets error
This commit is contained in:
parent
fb2d0c6955
commit
cddbb655bc
@ -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")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user