forked from Archive/PX4-Autopilot
MicroRTPS bridge: Depend on messages, not just on headers
This ensures that an update of the message spec re-generates the bridge. ;
This commit is contained in:
parent
fc7c8b4b89
commit
72823e6eb4
|
@ -122,7 +122,7 @@ if (GENERATE_RTPS_BRIDGE)
|
||||||
VERBATIM
|
VERBATIM
|
||||||
)
|
)
|
||||||
px4_add_library(uorb_msgs_microcdr ${uorb_sources_microcdr})
|
px4_add_library(uorb_msgs_microcdr ${uorb_sources_microcdr})
|
||||||
add_dependencies(uorb_msgs_microcdr uorb_headers_microcdr uorb_headers git_micro_cdr lib__micro-CDR)
|
add_dependencies(uorb_msgs_microcdr uorb_headers_microcdr uorb_headers uorb_msgs git_micro_cdr lib__micro-CDR)
|
||||||
|
|
||||||
target_link_libraries(uorb_msgs_microcdr PRIVATE lib__micro-CDR)
|
target_link_libraries(uorb_msgs_microcdr PRIVATE lib__micro-CDR)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue