Skip to content

Commit

Permalink
bump cmake max tested version, consistency pass
Browse files Browse the repository at this point in the history
  • Loading branch information
wjakob committed Aug 15, 2023
1 parent 654dbaa commit c65bb40
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.15...3.26)
cmake_minimum_required(VERSION 3.15...3.27)
project(nanobind LANGUAGES CXX)

# ---------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion docs/building.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ name and tested CMake version range. The third line line searches for Python >=
.. code-block:: cmake
project(my_project) # Replace 'my_project' with the name of your project
cmake_minimum_required(VERSION 3.18...3.22)
cmake_minimum_required(VERSION 3.15...3.27)
find_package(Python 3.8 COMPONENTS Interpreter Development.Module REQUIRED)
Add the following lines below. They configure CMake to perform an optimized
Expand Down
2 changes: 1 addition & 1 deletion docs/packaging.rst
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ build. The message at the top warns users attempting to do this.
.. code-block:: cmake
# Set the minimum CMake version and policies for highest tested version
cmake_minimum_required(VERSION 3.15...3.26)
cmake_minimum_required(VERSION 3.15...3.27)
# Set up the project and ensure there is a working C++ compiler
project(my_ext LANGUAGES CXX)
Expand Down

0 comments on commit c65bb40

Please sign in to comment.