Skip to content
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

cmake: export target with namespace #60

Merged
merged 2 commits into from
Jan 8, 2019

Conversation

scpeters
Copy link
Contributor

This package started using targets in #45, which almost helps with issue #52, but the targets can get confused with library names, since the console_bridge_LIBRARIES variable is console_bridge, then target_link_libraries(${console_bridge_LIBRARIES}) will just try to link to the library instead of the target ( dartsim/dart#1200 ). Adding a namespace ensures that target_link_libraries will link to the target and propagate the full library path to downstream code, which should help fix dartsim/dart#1200.

@nuclearsandwich
Copy link
Member

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows Build Status

@scpeters scpeters merged commit f0b423c into ros:master Jan 8, 2019
@scpeters scpeters deleted the cmake_target_namespace branch January 8, 2019 22:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Example Compile Error in Mac OS Mojave
2 participants