From 86d80d318c8b02f465e778b17677766422470bda Mon Sep 17 00:00:00 2001 From: Giuseppe Silano Date: Tue, 17 Dec 2019 19:02:45 +0100 Subject: [PATCH] Fix issue related to ethz-asl/rotors_simulator#506 --- rotors_gazebo_plugins/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rotors_gazebo_plugins/CMakeLists.txt b/rotors_gazebo_plugins/CMakeLists.txt index 301944c..923e496 100644 --- a/rotors_gazebo_plugins/CMakeLists.txt +++ b/rotors_gazebo_plugins/CMakeLists.txt @@ -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