mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-23 08:03:35 +08:00
cmake remove circular linking and reorganize
- px4_add_module now requires MAIN - px4_add_library doesn't automatically link
This commit is contained in:
@@ -87,8 +87,10 @@ px4_add_module(
|
||||
-Wno-missing-declarations
|
||||
-Wno-double-promotion
|
||||
-Wno-unknown-warning-option
|
||||
SRCS ${srcs}
|
||||
SRCS
|
||||
${srcs}
|
||||
DEPENDS
|
||||
platforms__common
|
||||
modules__mc_pos_control__mc_pos_control_tests
|
||||
git_ecl
|
||||
ecl
|
||||
)
|
||||
# vim: set noet ft=cmake fenc=utf-8 ff=unix :
|
||||
|
||||
Reference in New Issue
Block a user