mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 09:30:25 +08:00
Fixed WITH_QT=OFF (to not build with Qt even if any dependency included it)
This commit is contained in:
@@ -97,8 +97,7 @@ endforeach()
|
||||
include("${CMAKE_CURRENT_LIST_DIR}/RTABMapTargets.cmake")
|
||||
|
||||
foreach(_comp ${RTABMap_FIND_COMPONENTS})
|
||||
if (NOT ";${_RTABMap_supported_components};" MATCHES ";${_comp};")
|
||||
set(RTABMap_${_comp}_FOUND False)
|
||||
if (NOT RTABMap_${_comp}_FOUND)
|
||||
if(${RTABMap_FIND_REQUIRED_${_comp}})
|
||||
set(RTABMap_FOUND False)
|
||||
set(RTABMap_NOT_FOUND_MESSAGE "Unsupported or not found required component: ${_comp}")
|
||||
|
||||
Reference in New Issue
Block a user