Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -317,14 +317,14 @@ endif()
# #######
IF(BUILD_PYTHON)
find_package (Python COMPONENTS Interpreter Development)
find_package(pybind11 REQUIRED)
find_package(pybind11 3.0.0 REQUIRED)

if(NOT pybind11_FOUND)
include(FetchContent)
FetchContent_Declare(
pybind11_sources
GIT_REPOSITORY https://github.com/pybind/pybind11.git
GIT_TAG v2.11.1
GIT_TAG v3.0.1
)

FetchContent_GetProperties(pybind11_sources)
Expand Down
Loading