mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-25 08:36:08 +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:
+2
-2
@@ -196,5 +196,5 @@ add_custom_command(OUTPUT ${uorb_sources}
|
||||
VERBATIM
|
||||
)
|
||||
|
||||
px4_add_library(uorb_msgs ${uorb_sources})
|
||||
add_dependencies(uorb_msgs uorb_headers)
|
||||
add_library(uorb_msgs ${uorb_sources})
|
||||
add_dependencies(uorb_msgs prebuild_targets uorb_headers)
|
||||
|
||||
Reference in New Issue
Block a user