mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 01:20:25 +08:00
RTABMapConfig.cmake: added find VTK if vtkGUISupportQt target is required
This commit is contained in:
@@ -62,6 +62,9 @@ if(@CONF_WITH_GUI@)
|
||||
endif(@CONF_WITH_GUI@)
|
||||
|
||||
# Dependencies
|
||||
if(@CONF_VTK_QT@)
|
||||
find_package(VTK COMPONENTS vtkGUISupportQt NO_MODULE) # to define vtkGUISupportQt target
|
||||
endif(@CONF_VTK_QT@)
|
||||
set(RTABMap_LIBRARIES ${RTABMap_LIBRARIES} @CONF_DEPENDENCIES@)
|
||||
|
||||
#backward compatibilities
|
||||
|
||||
Reference in New Issue
Block a user