mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
Don't completely overwrite the CMAKE_CXX_FLAGS
This commit is contained in:
parent
d577c5871c
commit
337fdff08e
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user