update cmake file

This commit is contained in:
Darby Lim 2018-03-13 08:55:11 +09:00
parent eb3266f706
commit 3e5873055f
2 changed files with 14 additions and 2 deletions

View File

@ -1,7 +1,7 @@
################################################################################
# CMake
################################################################################
cmake_minimum_required(VERSION 2.8 FATAL_ERROR)
cmake_minimum_required(VERSION 2.8.3)
project(turtlebot3_gazebo_plugin)
################################################################################
@ -44,6 +44,19 @@ target_link_libraries(image_listener ${GAZEBO_LIBRARIES} pthread)
################################################################################
# Install
################################################################################
install(TARGETS lidar_listener image_listener
ARCHIVE DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
)
install(DIRECTORY models
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
)
install(DIRECTORY worlds
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
)
################################################################################
# Test

View File

@ -25,7 +25,6 @@
<run_depend>roscpp</run_depend>
<run_depend>std_msgs</run_depend>
<run_depend>sensor_msgs</run_depend>
<run_depend>geometry_msgs</run_depend>
<run_depend>tf</run_depend>
<run_depend>gazebo_ros</run_depend>
<export>