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

xtensor cmake variables do not match variables in CMakeLists.txt #302

Open
mircomarahrens opened this issue Jan 28, 2024 · 0 comments
Open

Comments

@mircomarahrens
Copy link

Including this project via add_subdirectory(path/to/xtensor/python) leads to

[cmake] ERRORMismatch xtensor versions. Found '..' but requires: '0.24.0'

at the cmake configuration step.

The variables ${XTENSOR_VERSION_MAJOR}, ${XTENSOR_VERSION_MINOR}, ${XTENSOR_VERSION_PATCH} seems to be wrong in

set(xtensor_VERSION ${XTENSOR_VERSION_MAJOR}.${XTENSOR_VERSION_MINOR}.${XTENSOR_VERSION_PATCH})
. I don't know why yet, but XTENSOR in the variables is in lower case here,

[cmake] -- xtensor_VERSION_MAJOR=0
[cmake] -- xtensor_VERSION_MINOR=24
[cmake] -- xtensor_VERSION_PATCH=6
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

No branches or pull requests

1 participant