support pybind11 and xtensor 0.27 · xtensor-stack/xtensor-python@a6bdcce

Original file line numberDiff line numberDiff line change

@@ -32,7 +32,7 @@ message(STATUS "xtensor-python v${${PROJECT_NAME}_VERSION}")

3232

# Dependencies

3333

# ============

3434
35-

set(xtensor_REQUIRED_VERSION 0.26.0)

35+

set(xtensor_REQUIRED_VERSION 0.27.0)

3636

if(TARGET xtensor)

3737

set(xtensor_VERSION ${XTENSOR_VERSION_MAJOR}.${XTENSOR_VERSION_MINOR}.${XTENSOR_VERSION_PATCH})

3838

# Note: This is not SEMVER compatible comparison

@@ -48,7 +48,7 @@ endif()

4848
4949

find_package(Python COMPONENTS Interpreter REQUIRED)

5050
51-

set(pybind11_REQUIRED_VERSION 2.6.1)

51+

set(pybind11_REQUIRED_VERSION 3.0.0)

5252

if (NOT TARGET pybind11::headers)

5353

# Defaults to ON for cmake >= 3.18

5454

# https://github.com/pybind/pybind11/blob/35ff42b56e9d34d9a944266eb25f2c899dbdfed7/CMakeLists.txt#L96