Skip to content

Commit

Permalink
CMakeLists.txt now enforces pybind11 2.10.0 or later
Browse files Browse the repository at this point in the history
  • Loading branch information
molpopgen committed Sep 22, 2022
1 parent 588505e commit 803cae5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ endif()

find_package(pybind11)
message(STATUS "Found pybind11: ${pybind11_VERSION}")
if(${pybind11_VERSION} VERSION_LESS '2.4.3')
message(FATAL_ERROR "pybind11 version must be >= '2.4.3'")
if(${pybind11_VERSION} VERSION_LESS '2.10.0')
message(FATAL_ERROR "pybind11 version must be >= '2.10.0'")
endif()
add_definitions(-DPYBIND11_VERSION="${pybind11_VERSION}")

Expand Down

0 comments on commit 803cae5

Please sign in to comment.