diff --git a/CMakeLists.txt b/CMakeLists.txt index 55f2e89..a2e9490 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -170,3 +170,8 @@ install( BUNDLE DESTINATION . LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) + +if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU") + # Triggered a lot in MAVLink headers + target_compile_options(appmarsh-manager PRIVATE -Wno-address-of-packed-member) +endif()