Allow cmake to use pybind11 from target.#227
Merged
Merged
Conversation
mansnils
approved these changes
Jun 25, 2026
9784bfe to
0f768d3
Compare
The current setup requires pybind11 to be installed. If it is built from source in the same cmake project, it will instead be available as a target. Signed-off-by: Erik Lundell <erik.lundell@arm.com> Change-Id: I374577afc290e8c0a18503c1c3fb086bbeb1631d
Signed-off-by: Erik Lundell <erik.lundell@arm.com> Change-Id: Ic57f26326f61d45dacbdbd45b14276e3dbd3e4c8
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The current setup requires pybind11 to be installed. If it is built from source in the same cmake project, it will instead be available as a target, so add the ability to use that.