mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-19 05:53:34 +08:00
cmake enable -Wcast-align and disable per module
This commit is contained in:
@@ -52,6 +52,7 @@ add_definitions(
|
||||
-DUAVCAN_USE_EXTERNAL_SNPRINT
|
||||
)
|
||||
|
||||
add_compile_options(-Wno-cast-align) # TODO: fix and enable
|
||||
add_subdirectory(${LIBUAVCAN_DIR} uavcannode_libuavcan)
|
||||
add_dependencies(uavcan prebuild_targets)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user