Skip to content

Update CMakeLists to correctly find pybind11 alias targets #242

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

Merged
merged 1 commit into from
May 19, 2021

Conversation

nickrobison-usds
Copy link
Contributor

When building xtensor-python and pybind11 as cmake submodule projects, the pybind aliased targets are not discovered correctly.

This PR adds an additional check to also look for the pybind11:headers aliased target and set the values accordingly.

Add an additional TARGET check in the root cmake file to correctly find
the pybind11 alias targets.
@tdegeus
Copy link
Member

tdegeus commented Sep 15, 2020

I wonder if this is not more an issue of pybind11? Why is the target not defined?

nickrobison-usds added a commit to nickrobison-usds/mobility-cpp that referenced this pull request Sep 15, 2020
Add the required submodules for python integration.

We're using our own branch of xtensor-python, while we wait for the [PR](xtensor-stack/xtensor-python#242) to be merged.
nickrobison-usds added a commit to nickrobison-usds/mobility-cpp that referenced this pull request Sep 15, 2020
Add the required submodules for python integration.

We're using our own branch of xtensor-python, while we wait for the [PR](xtensor-stack/xtensor-python#242) to be merged.
nickrobison-usds added a commit to nickrobison-usds/mobility-cpp that referenced this pull request Sep 18, 2020
Add the required submodules for python integration.

We're using our own branch of xtensor-python, while we wait for the [PR](xtensor-stack/xtensor-python#242) to be merged.
nickrobison-usds added a commit to nickrobison-usds/mobility-cpp that referenced this pull request Sep 29, 2020
Add the required submodules for python integration.

We're using our own branch of xtensor-python, while we wait for the [PR](xtensor-stack/xtensor-python#242) to be merged.
@tdegeus tdegeus closed this May 18, 2021
@tdegeus tdegeus reopened this May 18, 2021
@tdegeus
Copy link
Member

tdegeus commented May 18, 2021

(rerunning CI)

@tdegeus
Copy link
Member

tdegeus commented May 18, 2021

Do we care about the CI configuration failures @JohanMabille ? (Also maybe we should fix, what's holding me back is that I'm more of a GitHub Action person ;))

@tdegeus
Copy link
Member

tdegeus commented May 19, 2021

rerunning CI

@tdegeus tdegeus closed this May 19, 2021
@tdegeus tdegeus reopened this May 19, 2021
@tdegeus tdegeus merged commit f024adb into xtensor-stack:master May 19, 2021
@JohanMabille
Copy link
Member

Do we care about the CI configuration failures @JohanMabille ?

Yes we do ;)

@tdegeus
Copy link
Member

tdegeus commented May 20, 2021

That's why I fixed them ;)

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.

3 participants