From 35a74342627d35eeee6788a5e4f6ba0bb57c7205 Mon Sep 17 00:00:00 2001 From: Tomas Baca Date: Sat, 9 Dec 2023 09:21:07 +0100 Subject: [PATCH] updated flags --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 346f832..06d83d0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -25,7 +25,8 @@ find_package(catkin REQUIRED COMPONENTS 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) if(COVERAGE) message(WARNING "building with --coverage, the performance might be limited")