Updated rviz deps location in cmake

This commit is contained in:
matlabbe
2021-09-21 10:40:49 -04:00
parent 176e76bfc1
commit 1d60861ffb
+5 -5
View File
@@ -58,6 +58,11 @@ find_package(RTABMap 0.20.5 REQUIRED)
find_package(Boost REQUIRED COMPONENTS system) # dependencies from PCL find_package(Boost REQUIRED COMPONENTS system) # dependencies from PCL
find_package(PCL 1.7 REQUIRED COMPONENTS kdtree) #This crashes idl generation if all components are found?! see https://github.com/ros2/rosidl/issues/402#issuecomment-565586908 find_package(PCL 1.7 REQUIRED COMPONENTS kdtree) #This crashes idl generation if all components are found?! see https://github.com/ros2/rosidl/issues/402#issuecomment-565586908
# optional
find_package(rviz_common)
find_package(rviz_rendering)
find_package(rviz_default_plugins)
#Qt stuff #Qt stuff
# If librtabmap_gui.so is found, rtabmapviz will be built # If librtabmap_gui.so is found, rtabmapviz will be built
# If rviz is found, plugins will be built # If rviz is found, plugins will be built
@@ -79,11 +84,6 @@ IF(RTABMAP_GUI OR rviz_default_plugins_FOUND)
ENDIF() ENDIF()
ENDIF(RTABMAP_GUI OR rviz_default_plugins_FOUND) ENDIF(RTABMAP_GUI OR rviz_default_plugins_FOUND)
find_package(rviz_common)
find_package(rviz_rendering)
find_package(rviz_default_plugins)
####################################### #######################################
## Declare ROS messages and services ## ## Declare ROS messages and services ##
####################################### #######################################