Skip to content

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

@mircomarahrens

Description

@mircomarahrens

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions