diff --git a/CMakeLists.txt b/CMakeLists.txt index 6a89837..40904a5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,6 +3,8 @@ include(cmake/prefix.cmake) project(pycxx CXX) include(cmake/postfix.cmake) +# set(FETCHCONTENT_UPDATES_DISCONNECTED ON) + find_package(Python COMPONENTS Interpreter Development REQUIRED) find_package(Boost COMPONENTS python) diff --git a/cmake/pybind11.cmake b/cmake/pybind11.cmake index 5e5e685..3a3288c 100644 --- a/cmake/pybind11.cmake +++ b/cmake/pybind11.cmake @@ -2,6 +2,6 @@ include(FetchContent) FetchContent_Declare( pybind11 GIT_REPOSITORY https://github.com/pybind/pybind11.git - GIT_TAG 5b0a6fc2017fcc176545afe3e09c9f9885283242 #2.10.4 + GIT_TAG 8a099e44b3d5f85b20f05828d919d2332a8de841 # 2.11.1 ) list(APPEND FetchContents pybind11)