diff --git a/CMakeLists.txt b/CMakeLists.txt index 0749ade..97ae98c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -26,7 +26,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") +add_definitions(-Wall) +add_definitions(-Wextra) if(COVERAGE) message(WARNING "building with --coverage, the performance might be limited")