cmake: Bump the minimum required Python version to 3.8
Given that 3.6 is now several years old and the current and previous Ubuntu LTS ship with 3.8 or later, upgrade the minimum required Python version from 3.6 to 3.8. Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
This commit is contained in:
parent
25db534a07
commit
33211b3fb4
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ if (WIN32)
|
|||
set(ENV{PYTHONIOENCODING} "utf-8")
|
||||
endif()
|
||||
|
||||
set(PYTHON_MINIMUM_REQUIRED 3.6)
|
||||
set(PYTHON_MINIMUM_REQUIRED 3.8)
|
||||
|
||||
# We are using foreach here, instead of find_program(PYTHON_EXECUTABLE_SYSTEM_DEFAULT "python" "python3")
|
||||
# cause just using find_program directly could result in a python2.7 as python, and not finding a valid python3.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue