mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-21 05:23:33 +08:00
Cleanup of module building.
This commit is contained in:
@@ -33,10 +33,11 @@
|
||||
set(depends
|
||||
msg_gen
|
||||
prebuild_targets
|
||||
git_mavlink
|
||||
)
|
||||
|
||||
if(${OS} STREQUAL "posix")
|
||||
list(APPEND depends git_eigen git_mavlink)
|
||||
if(${OS} STREQUAL "posix" OR ${BOARD} STREQUAL "sim")
|
||||
list(APPEND depends git_eigen)
|
||||
endif()
|
||||
|
||||
px4_add_module(
|
||||
|
||||
Reference in New Issue
Block a user