diff --git a/libuavcan_drivers/linux/CMakeLists.txt b/libuavcan_drivers/linux/CMakeLists.txt index 9577b227ca..f96b41de3d 100644 --- a/libuavcan_drivers/linux/CMakeLists.txt +++ b/libuavcan_drivers/linux/CMakeLists.txt @@ -43,7 +43,7 @@ endif () # Applications - tests, tools. # include_directories(include) -set(CMAKE_CXX_FLAGS "-Wall -Wextra -pedantic -std=c++11") # GCC or Clang +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -pedantic -std=c++11") # GCC or Clang if(CMAKE_BUILD_TYPE STREQUAL "Debug") add_definitions(-DUAVCAN_DEBUG=1)