mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-18 06:50:35 +08:00
simulator_mavlink: include headers from dialect specified for build (#23844)
Without this change the configured dialect would not get included correctly in the simulator_mavlink module, only in the main mavlink module. Configured using e.g. CONFIG_MAVLINK_DIALECT="development" in e.g. boards/px4/sitl/default.px4board file.
This commit is contained in:
@@ -40,9 +40,7 @@ px4_add_module(
|
||||
-Wno-address-of-packed-member # TODO: fix in c_library_v2
|
||||
INCLUDES
|
||||
${CMAKE_BINARY_DIR}/mavlink
|
||||
${CMAKE_BINARY_DIR}/mavlink/development
|
||||
${CMAKE_BINARY_DIR}/mavlink/common
|
||||
${CMAKE_BINARY_DIR}/mavlink/standard
|
||||
${CMAKE_BINARY_DIR}/mavlink/${CONFIG_MAVLINK_DIALECT}
|
||||
SRCS
|
||||
SimulatorMavlink.cpp
|
||||
SimulatorMavlink.hpp
|
||||
|
||||
Reference in New Issue
Block a user