Skip to content

Fix minitrace export when included via fetchcontent #913

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

Closed
wants to merge 1 commit into from

Conversation

psyinf
Copy link
Contributor

@psyinf psyinf commented Jan 21, 2025

When importing BehaviorTree.CPP via fetchcontent/cpm a CMake configuration error is issued
"CMake error : install(EXPORT "behaviortree_cppTargets" ...) includes target "behaviortree_cpp" which requires target "minitrace" that is not in any export set."

Implicitly adding minitrace to the install targets fixes this

@facontidavide
Copy link
Collaborator

weird, this should be a private dependency.

@psyinf
Copy link
Contributor Author

psyinf commented Feb 1, 2025

weird, this should be a private dependency.

You are right. I'm seeing this using CMake 3.30.3. I'll check with a newer version and if the problem persists I'll create a minimal example

@psyinf
Copy link
Contributor Author

psyinf commented Feb 1, 2025

Ok, found the problem: This was fixed with 2bc72fd. Unfortunately I use the last tag 4.6.2 where this issue is still present.
I'll close the PR. Any plans on a new release?

@psyinf psyinf closed this Feb 1, 2025
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.

None yet

2 participants