mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 09:30:25 +08:00
Fixed cmake erros on system with Qt4
This commit is contained in:
@@ -25,7 +25,7 @@ else()
|
||||
FIND_PACKAGE(PCL 1.7 REQUIRED)
|
||||
|
||||
# Find Qt5 first
|
||||
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