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

spdlog dependency shouldn't need to be exported #58

Closed
sloretz opened this issue Oct 15, 2020 · 3 comments · Fixed by #60
Closed

spdlog dependency shouldn't need to be exported #58

sloretz opened this issue Oct 15, 2020 · 3 comments · Fixed by #60

Comments

@sloretz
Copy link
Contributor

sloretz commented Oct 15, 2020

ament_export_dependencies(ament_cmake rcl_logging_interface rcutils spdlog_vendor spdlog)

If I understand correctly there's no reason to ament_export_dependencies(spdlog spdlog_vendor). This call makes downstream packages find_package() them, but downstream code shouldn't need to know about them at all in order to use this logging implementation. The <exec_depend>spdlog* is enough to make the spdlog libraries available at runtime.

@hidmic thoughts?

@sloretz
Copy link
Contributor Author

sloretz commented Oct 15, 2020

IIUC rcutils and rcl_logging_interface don't need to be "exported" either.

@sloretz
Copy link
Contributor Author

sloretz commented Oct 15, 2020

I think the ament_cmake export happens automatically too, it seems like the whole line could be deleted

@hidmic
Copy link
Contributor

hidmic commented Oct 15, 2020

Agree with this. And the same applies to log4cxx in rcl_logging_log4cxx.

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 a pull request may close this issue.

2 participants