-
Notifications
You must be signed in to change notification settings - Fork 769
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix cmake target libraries and linking so plugins work #667
base: master
Are you sure you want to change the base?
Conversation
Can one of the admins verify this patch? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the fix,
Although renaming the package is problematic, since this package is being deployed with the ROS build farm. (e.g. ros-melodic-mav-msgs
)
# point forward. | ||
# NOTE: This is deprecated, should be using target_link_libraries instead | ||
link_libraries(mav_msgs) | ||
add_library(mav_proto_msgs SHARED ${PROTO_SRCS}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you not rename the package? This would need to propagate further than just this cmake file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doesn't rename a package. It renames the cmake library created for the protobuf msgs
@ethzasl-jenkins Test this please |
…sed it in prev commit
Just to clarify, the changes here do not rename a package. The |
…into feature/fix-gazebo-plugins # Conflicts: # rotors_gazebo_plugins/CMakeLists.txt
I saw another MR was merged so I pulled |
The
mav_msgs
library created inrotors_gazebo_plugins
isn't linked to a few of the libraries that use it and also it is not installed. This MR fixes that stuff. I also changed the name of the library tomav_proto_msgs
bcmav_msgs
is the name of a package and it is a bit confusing(at least it was to me reading through it) having a library given the same name as a package being depended upon.This fixes this issue