forked from Archive/PX4-Autopilot
Fix linking for posix targets
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
This commit is contained in:
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()
|
||||
|
|
Loading…
Reference in New Issue