From 02d055aed985f2e1bf4946c99d660219e4cd8d00 Mon Sep 17 00:00:00 2001 From: CihatAltiparmak Date: Thu, 10 Oct 2024 12:43:32 +0300 Subject: [PATCH] Added moveit_common into CMakeLists.txt --- CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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)