Browse Source

Remove -Werror compiler flag

QGC4.4
Chris Rizzitello 6 years ago committed by Daniel Agar
parent
commit
8435653fb2
  1. 2
      CMakeLists.txt

2
CMakeLists.txt

@ -135,7 +135,6 @@ if (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_compile_options( add_compile_options(
-Wall -Wall
-Wextra -Wextra
-Werror
-Wno-address-of-packed-member # ignore for mavlink -Wno-address-of-packed-member # ignore for mavlink
) )
@ -149,7 +148,6 @@ elseif (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
add_compile_options( add_compile_options(
-Wall -Wall
-Wextra -Wextra
-Werror
) )
elseif (WIN32) elseif (WIN32)

Loading…
Cancel
Save