mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-04 08:47:45 +08:00
Fixed cmake erros on system with Qt4
This commit is contained in:
+1
-1
@@ -172,7 +172,7 @@ ENDIF(ZLIB_FOUND)
|
||||
IF(WITH_QT)
|
||||
# If Qt is here, the GUI will be built
|
||||
# look for Qt5 before Qt4
|
||||
FIND_PACKAGE(Qt5 COMPONENTS Widgets Core Gui Svg)
|
||||
FIND_PACKAGE(Qt5 COMPONENTS Widgets Core Gui Svg QUIET)
|
||||
IF(NOT Qt5_FOUND)
|
||||
FIND_PACKAGE(Qt4 COMPONENTS QtCore QtGui QtSvg)
|
||||
ENDIF(NOT Qt5_FOUND)
|
||||
|
||||
Reference in New Issue
Block a user