mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-03 16:27:46 +08:00
RGBDMapping example: fixed -lvtkproj4 not found error on Xenial
This commit is contained in:
@@ -29,6 +29,12 @@ else()
|
|||||||
IF(NOT Qt5_FOUND)
|
IF(NOT Qt5_FOUND)
|
||||||
FIND_PACKAGE(Qt4 COMPONENTS QtCore QtGui QtSvg)
|
FIND_PACKAGE(Qt4 COMPONENTS QtCore QtGui QtSvg)
|
||||||
ENDIF(NOT Qt5_FOUND)
|
ENDIF(NOT Qt5_FOUND)
|
||||||
|
|
||||||
|
# fix libproj.so not found on Xenial
|
||||||
|
if(NOT "${PCL_LIBRARIES}" STREQUAL "")
|
||||||
|
list(REMOVE_ITEM PCL_LIBRARIES "vtkproj4")
|
||||||
|
endif()
|
||||||
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(POLICY CMP0020)
|
if(POLICY CMP0020)
|
||||||
|
|||||||
Reference in New Issue
Block a user