File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
- cmake_minimum_required (VERSION 3.15...3.26 )
1
+ cmake_minimum_required (VERSION 3.15...3.27 )
2
2
project (nanobind LANGUAGES CXX)
3
3
4
4
# ---------------------------------------------------------------------------
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ name and tested CMake version range. The third line line searches for Python >=
23
23
.. code-block :: cmake
24
24
25
25
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 )
27
27
find_package(Python 3.8 COMPONENTS Interpreter Development.Module REQUIRED)
28
28
29
29
Add the following lines below. They configure CMake to perform an optimized
Original file line number Diff line number Diff line change @@ -142,7 +142,7 @@ build. The message at the top warns users attempting to do this.
142
142
.. code-block :: cmake
143
143
144
144
# 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 )
146
146
147
147
# Set up the project and ensure there is a working C++ compiler
148
148
project(my_ext LANGUAGES CXX)
You can’t perform that action at this time.
0 commit comments