mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-12 14:30:19 +08:00
Fixed WITH_QT=OFF (to not build with Qt even if any dependency included it)
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
|
||||
set(LIBRARIES rtabmap_core)
|
||||
|
||||
IF(QT4_FOUND OR Qt5_FOUND)
|
||||
IF(WITH_QT AND (QT4_FOUND OR Qt5_FOUND))
|
||||
ADD_DEFINITIONS("-DWITH_QT")
|
||||
set(LIBRARIES ${LIBRARIES} rtabmap_gui)
|
||||
ENDIF(QT4_FOUND OR Qt5_FOUND)
|
||||
ENDIF(WITH_QT AND (QT4_FOUND OR Qt5_FOUND))
|
||||
|
||||
ADD_EXECUTABLE(report main.cpp)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user