From d09d303743f7c5a8a2dfbc63905b93e72e3dc2a3 Mon Sep 17 00:00:00 2001 From: Tomas Baca Date: Thu, 14 Sep 2023 19:57:18 +0200 Subject: [PATCH] updated flag definitions --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 17c7e03..f779dd8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,7 +4,8 @@ project(mrs_multirotor_simulator) set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD_REQUIRED ON) -set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra") +add_definitions(-Wall) +add_definitions(-Wextra) set(CATKIN_DEPENDENCIES cmake_modules