From 29af7f397b1f0b8074850c4037eb927668b18843 Mon Sep 17 00:00:00 2001 From: hunghaoti Date: Thu, 27 Nov 2025 22:56:22 +0800 Subject: [PATCH] pybind11 3.0.0 required. --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4d91a9d3..5d20f83e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)