Skip to content

Commit

Permalink
Fix issue related to ethz-asl/rotors_simulator#506
Browse files Browse the repository at this point in the history
  • Loading branch information
gsilano committed Dec 17, 2019
1 parent 13dd0f9 commit 86d80d3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions rotors_gazebo_plugins/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,10 @@ PROTOBUF_GENERATE_CPP(PROTO_SRCS PROTO_HDRS ${msgs})
add_library(mav_msgs SHARED ${PROTO_SRCS})
target_link_libraries(mav_msgs ${PROTOBUF_LIBRARY} gazebo_msgs)

# To solve the issue #506 on RotorS repository
# https://github.com/ethz-asl/rotors_simulator/pull/506
list(APPEND targets_to_install mav_msgs)

# This causes mav_msgs to be linked with every created library in this file from this
# point forward.
# NOTE: This is deprecated, should be using target_link_libraries instead
Expand Down

0 comments on commit 86d80d3

Please sign in to comment.