mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-20 07:23:34 +08:00
cmake handle mavlink v1 submodule only where used
This commit is contained in:
@@ -31,8 +31,7 @@
|
||||
#
|
||||
############################################################################
|
||||
|
||||
px4_add_git_submodule(TARGET git_mavlink PATH "${PX4_SOURCE_DIR}/mavlink/include/mavlink/v1.0")
|
||||
px4_add_git_submodule(TARGET git_mavlink2 PATH "${PX4_SOURCE_DIR}/mavlink/include/mavlink/v2.0")
|
||||
px4_add_git_submodule(TARGET git_mavlink_v2 PATH "${PX4_SOURCE_DIR}/mavlink/include/mavlink/v2.0")
|
||||
|
||||
px4_add_module(
|
||||
MODULE modules__mavlink
|
||||
@@ -61,6 +60,5 @@ px4_add_module(
|
||||
mavlink_ulog.cpp
|
||||
DEPENDS
|
||||
platforms__common
|
||||
git_mavlink
|
||||
git_mavlink2
|
||||
git_mavlink_v2
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user