diff --git a/CMakeLists.txt b/CMakeLists.txt index 2f23c83..3b08971 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,9 +1,9 @@ cmake_minimum_required(VERSION 3.8) project(moveit_middleware_benchmark) -if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang") - add_compile_options(-Wall -Wextra -Wpedantic) -endif() +# Common cmake code applied to all moveit packages +find_package(moveit_common REQUIRED) +moveit_package() # find dependencies find_package(ament_cmake REQUIRED)