Skip to content

Commit

Permalink
cmake: fix mavlink#1174: add msg deps for package format 2
Browse files Browse the repository at this point in the history
  • Loading branch information
vooon committed Feb 15, 2019
1 parent 7461682 commit f64d09d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion mavros/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ add_library(mavros
src/lib/rosconsole_bridge.cpp
)
add_dependencies(mavros
mavros_msgs_generate_messages_cpp
${catkin_EXPORTED_TARGETS}
)
target_link_libraries(mavros
atomic
Expand Down
3 changes: 3 additions & 0 deletions mavros_extras/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,9 @@ add_library(mavros_extras
src/plugins/vision_pose_estimate.cpp
src/plugins/vision_speed_estimate.cpp
)
add_dependencies(mavros_extras
${catkin_EXPORTED_TARGETS}
)
target_link_libraries(mavros_extras
${mavros_LIBRARIES}
${catkin_LIBRARIES}
Expand Down

0 comments on commit f64d09d

Please sign in to comment.