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:
Lorenz Meier 2017-12-26 20:09:35 +01:00 committed by Daniel Agar
parent fc7c8b4b89
commit 72823e6eb4
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,7 @@ if (GENERATE_RTPS_BRIDGE)
VERBATIM
)
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)