mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 01:20:25 +08:00
fixed downstream python cmake not found (#1063)
This commit is contained in:
@@ -1029,6 +1029,9 @@ IF(NOT TORCH_FOUND)
|
||||
ENDIF()
|
||||
IF(NOT WITH_PYTHON OR NOT Python3_FOUND)
|
||||
SET(PYTHON "//")
|
||||
SET(CONF_WITH_PYTHON 0)
|
||||
ELSE()
|
||||
SET(CONF_WITH_PYTHON 1)
|
||||
ENDIF()
|
||||
IF(ADD_VTK_GUI_SUPPORT_QT_TO_CONF)
|
||||
SET(CONF_VTK_QT true)
|
||||
|
||||
Reference in New Issue
Block a user