mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-19 04:03:34 +08:00
cmake only include mavlink where used
This commit is contained in:
committed by
Lorenz Meier
parent
5984e3d330
commit
6a443765a5
@@ -30,6 +30,9 @@
|
||||
# POSSIBILITY OF SUCH DAMAGE.
|
||||
#
|
||||
############################################################################
|
||||
|
||||
include_directories(${PX4_SOURCE_DIR}/mavlink/include/mavlink)
|
||||
|
||||
px4_add_module(
|
||||
MODULE drivers__pwm_out_rc_in
|
||||
MAIN pwm_out_rc_in
|
||||
|
||||
@@ -30,6 +30,9 @@
|
||||
# POSSIBILITY OF SUCH DAMAGE.
|
||||
#
|
||||
############################################################################
|
||||
|
||||
include_directories(${PX4_SOURCE_DIR}/mavlink/include/mavlink)
|
||||
|
||||
px4_add_module(
|
||||
MODULE drivers__snapdragon_rc_pwm
|
||||
MAIN snapdragon_rc_pwm
|
||||
|
||||
Reference in New Issue
Block a user