@@ -18,7 +18,7 @@ A Python extension module can be created with just a few lines of code:
1818
1919.. code-block :: cmake
2020
21- cmake_minimum_required(VERSION 3.15...3.30 )
21+ cmake_minimum_required(VERSION 3.15...4.0 )
2222 project(example LANGUAGES CXX)
2323
2424 set(PYBIND11_FINDPYTHON ON)
@@ -447,7 +447,7 @@ See the `Config file`_ docstring for details of relevant CMake variables.
447447
448448.. code-block :: cmake
449449
450- cmake_minimum_required(VERSION 3.15...3.30 )
450+ cmake_minimum_required(VERSION 3.15...4.0 )
451451 project(example LANGUAGES CXX)
452452
453453 find_package(pybind11 REQUIRED)
@@ -492,7 +492,7 @@ FindPython, pybind11 will detect this and use the existing targets instead:
492492
493493.. code-block :: cmake
494494
495- cmake_minimum_required(VERSION 3.15...3.30 )
495+ cmake_minimum_required(VERSION 3.15...4.0 )
496496 project(example LANGUAGES CXX)
497497
498498 find_package(Python 3.8 COMPONENTS Interpreter Development REQUIRED)
@@ -570,7 +570,7 @@ You can use these targets to build complex applications. For example, the
570570
571571.. code-block :: cmake
572572
573- cmake_minimum_required(VERSION 3.15...3.30 )
573+ cmake_minimum_required(VERSION 3.15...4.0 )
574574 project(example LANGUAGES CXX)
575575
576576 find_package(pybind11 REQUIRED) # or add_subdirectory(pybind11)
@@ -628,7 +628,7 @@ information about usage in C++, see :doc:`/advanced/embedding`.
628628
629629.. code-block :: cmake
630630
631- cmake_minimum_required(VERSION 3.15...3.30 )
631+ cmake_minimum_required(VERSION 3.15...4.0 )
632632 project(example LANGUAGES CXX)
633633
634634 find_package(pybind11 REQUIRED) # or add_subdirectory(pybind11)
0 commit comments