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