mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-20 11:23:06 +08:00
Fix linking for posix targets
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
This commit is contained in:
committed by
Daniel Agar
parent
138f584e70
commit
705171eb53
@@ -41,10 +41,6 @@ target_link_libraries(px4
|
||||
PRIVATE
|
||||
${module_libraries}
|
||||
m
|
||||
|
||||
# horrible circular dependencies that need to be teased apart
|
||||
px4_layer px4_platform
|
||||
work_queue
|
||||
parameters
|
||||
)
|
||||
|
||||
|
||||
@@ -301,6 +301,7 @@ function(px4_os_prebuild_targets)
|
||||
ARGN ${ARGN})
|
||||
|
||||
add_library(prebuild_targets INTERFACE)
|
||||
target_link_libraries(prebuild_targets INTERFACE px4_layer drivers_board)
|
||||
add_dependencies(prebuild_targets DEPENDS uorb_headers)
|
||||
|
||||
endfunction()
|
||||
|
||||
Reference in New Issue
Block a user