Skip to content

Commit

Permalink
Use moveit_common package to moveit_ros_warehouse
Browse files Browse the repository at this point in the history
  • Loading branch information
RoboticsYY committed Oct 21, 2020
1 parent f4f7557 commit f958bfe
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 11 deletions.
14 changes: 4 additions & 10 deletions moveit_ros/warehouse/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,18 +1,12 @@
cmake_minimum_required(VERSION 3.10.2)
project(moveit_ros_warehouse)

if(NOT "${CMAKE_CXX_STANDARD}")
set(CMAKE_CXX_STANDARD 14)
endif()
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)

if(NOT CMAKE_CONFIGURATION_TYPES AND NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE Release)
endif()
# Common cmake code applied to all moveit packages
find_package(moveit_common REQUIRED)
moveit_package()

if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_compile_options(-Wall -Wextra -Wpedantic)
add_compile_options(-Wpedantic)
endif()

find_package(ament_cmake REQUIRED)
Expand Down
3 changes: 2 additions & 1 deletion moveit_ros/warehouse/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
<url type="repository">https://github.com/ros-planning/moveit</url>

<buildtool_depend>ament_cmake</buildtool_depend>

<build_depend>moveit_common</build_depend>

<depend>rclcpp</depend>
<depend>moveit_core</depend>
<depend>warehouse_ros</depend>
Expand Down

0 comments on commit f958bfe

Please sign in to comment.