mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-01 17:10:26 +08:00
only search for QVTK if VTK5 is found (not for VTK6)
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1616 f169173b-cf89-36c8-b27e-44dbe73f0c83
This commit is contained in:
@@ -83,7 +83,6 @@ SET(INCLUDE_DIRS
|
||||
${OpenCV_INCLUDE_DIRS}
|
||||
${CMAKE_CURRENT_BINARY_DIR} # for qt ui generated in binary dir
|
||||
${PCL_INCLUDE_DIRS}
|
||||
${QVTK_INCLUDE_DIR}
|
||||
)
|
||||
|
||||
INCLUDE(${QT_USE_FILE})
|
||||
@@ -92,9 +91,13 @@ SET(LIBRARIES
|
||||
${QT_LIBRARIES}
|
||||
${OpenCV_LIBS}
|
||||
${PCL_LIBRARIES}
|
||||
${QVTK_LIBRARY}
|
||||
)
|
||||
|
||||
IF(VTK_USE_QVTK)
|
||||
SET(INCLUDE_DIRS ${INCLUDE_DIRS} ${QVTK_INCLUDE_DIR})
|
||||
SET(LIBRARIES ${LIBRARIES} ${QVTK_LIBRARY})
|
||||
ENDIF(VTK_USE_QVTK)
|
||||
|
||||
#include files
|
||||
INCLUDE_DIRECTORIES(${INCLUDE_DIRS})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user