diff --git a/src/modules/mavlink/CMakeLists.txt b/src/modules/mavlink/CMakeLists.txt index 91875cd456..e8e4c4bd39 100644 --- a/src/modules/mavlink/CMakeLists.txt +++ b/src/modules/mavlink/CMakeLists.txt @@ -117,10 +117,13 @@ if(PX4_TESTING) endif() px4_add_unit_gtest(SRC MavlinkStatustextHandlerTest.cpp - INCLUDES ${MAVLINK_LIBRARY_DIR}/${MAVLINK_DIALECT} + INCLUDES + ${MAVLINK_LIBRARY_DIR}/${MAVLINK_DIALECT} COMPILE_FLAGS -Wno-address-of-packed-member # TODO: fix in c_library_v2 - LINKLIBS modules__mavlink + -Wno-cast-align # TODO: fix + LINKLIBS + modules__mavlink ) if(CONFIG_NET AND "${PX4_PLATFORM}" MATCHES "nuttx")