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

Put minitrace in the build_interface #874

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ahoarau
Copy link

@ahoarau ahoarau commented Sep 27, 2024

Building behavior tree with standard cmake (no ament, no conan etc) will result in:

CMake Error: install(EXPORT "behaviortree_cppTargets" ...) includes target "behaviortree_cpp" which requires target "minitrace" that is not in any export set.

By putting the minitrace library link in the build_interface, it allows to pass the configuration and get the final Config.cmake and Targets.cmake

Before:
image
After:
Screenshot 2024-09-27 081358

fixes the cmake export set when building behavior tree on standard cmake: CMake Error: install(EXPORT "behaviortree_cppTargets" ...) includes target "behaviortree_cpp" which requires target "minitrace" that is not in any export set.
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.

1 participant