From 787f8b512f4243d5e32d800b9d9ef279ccd665f7 Mon Sep 17 00:00:00 2001 From: Shane Loretz Date: Tue, 19 Jun 2018 17:19:54 -0700 Subject: [PATCH] Install libmav_msgs.so --- rotors_gazebo_plugins/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rotors_gazebo_plugins/CMakeLists.txt b/rotors_gazebo_plugins/CMakeLists.txt index 6fe22a715..071136bb8 100644 --- a/rotors_gazebo_plugins/CMakeLists.txt +++ b/rotors_gazebo_plugins/CMakeLists.txt @@ -185,6 +185,8 @@ PROTOBUF_GENERATE_CPP(PROTO_SRCS PROTO_HDRS ${msgs}) add_library(mav_msgs SHARED ${PROTO_SRCS}) target_link_libraries(mav_msgs ${PROTOBUF_LIBRARY} gazebo_msgs) +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