RGBDMapping example: fixed -lvtkproj4 not found error on Xenial

This commit is contained in:
matlabbe
2017-06-29 16:59:15 +00:00
parent 5646751f88
commit 5f5c74f260
+6
View File
@@ -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)