## if COMPONENTS list like find_package(catkin REQUIRED COMPONENTS xyz)
## is used, also find other catkin packages
find_package(catkin REQUIRED COMPONENTS
- gazebo
+# gazebo
gazebo_ros_control
twil_description
control_toolbox
## System dependencies are found with CMake's conventions
# find_package(Boost REQUIRED COMPONENTS system)
-
+find_package(gazebo REQUIRED)
## Uncomment this if the package has a setup.py. This macro ensures
## modules and global scripts declared therein get installed
# INCLUDE_DIRS include
# LIBRARIES twil_gazebo_ros_control
CATKIN_DEPENDS controller_manager pluginlib gazebo_ros_control twil_description control_toolbox
-# DEPENDS system_lib
+ DEPENDS gazebo
)
###########
## Specify libraries to link a library or executable target against
target_link_libraries(${PROJECT_NAME}
${catkin_LIBRARIES}
+ ${GAZEBO_LIBRARIES}
)
#############