Skip to content

Commit c65bb40

Browse files
committed
bump cmake max tested version, consistency pass
1 parent 654dbaa commit c65bb40

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cmake_minimum_required(VERSION 3.15...3.26)
1+
cmake_minimum_required(VERSION 3.15...3.27)
22
project(nanobind LANGUAGES CXX)
33

44
# ---------------------------------------------------------------------------

docs/building.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ name and tested CMake version range. The third line line searches for Python >=
2323
.. code-block:: cmake
2424
2525
project(my_project) # Replace 'my_project' with the name of your project
26-
cmake_minimum_required(VERSION 3.18...3.22)
26+
cmake_minimum_required(VERSION 3.15...3.27)
2727
find_package(Python 3.8 COMPONENTS Interpreter Development.Module REQUIRED)
2828
2929
Add the following lines below. They configure CMake to perform an optimized

docs/packaging.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ build. The message at the top warns users attempting to do this.
142142
.. code-block:: cmake
143143
144144
# Set the minimum CMake version and policies for highest tested version
145-
cmake_minimum_required(VERSION 3.15...3.26)
145+
cmake_minimum_required(VERSION 3.15...3.27)
146146
147147
# Set up the project and ensure there is a working C++ compiler
148148
project(my_ext LANGUAGES CXX)

0 commit comments

Comments
 (0)