mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-30 17:50:35 +08:00
cmake simplify uavcan linking
This commit is contained in:
committed by
Lorenz Meier
parent
fb7b33e755
commit
fd6499baca
@@ -81,4 +81,4 @@ px4_add_module(
|
||||
uavcan
|
||||
)
|
||||
|
||||
## vim: set noet ft=cmake fenc=utf-8 ff=unix :
|
||||
target_link_libraries(modules__uavcan uavcan uavcan_stm32_driver)
|
||||
|
||||
@@ -82,3 +82,5 @@ px4_add_module(
|
||||
platforms__common
|
||||
uavcan
|
||||
)
|
||||
|
||||
target_link_libraries(modules__uavcanesc uavcan uavcan_stm32_driver)
|
||||
|
||||
@@ -82,3 +82,5 @@ px4_add_module(
|
||||
platforms__common
|
||||
uavcan
|
||||
)
|
||||
|
||||
target_link_libraries(modules__uavcannode uavcan uavcan_stm32_driver)
|
||||
|
||||
Reference in New Issue
Block a user