diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-02-11 23:50:01 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-02-11 23:50:01 +0300 |
commit | 7952ed872acceafbfec9e161b48f16059cf31804 (patch) | |
tree | c2b68bfa12dd50ea31705f4fcc26f75a4b8270c7 /CMakeLists.txt | |
parent | 35ddcb4041e0c98f9a77827e0b8b031c83cec253 (diff) |
CMake: update python to 3.9.1
Default to Python version 3.9.
Reviewed By: LazyDodo, sybren, sebbas
Ref D10380
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 78f49942a13..51308850d3a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -830,8 +830,8 @@ if(WITH_PYTHON) # Do this before main 'platform_*' checks, # because UNIX will search for the old Python paths which may not exist. # giving errors about missing paths before this case is met. - if(DEFINED PYTHON_VERSION AND "${PYTHON_VERSION}" VERSION_LESS "3.7") - message(FATAL_ERROR "At least Python 3.7 is required to build") + if(DEFINED PYTHON_VERSION AND "${PYTHON_VERSION}" VERSION_LESS "3.9") + message(FATAL_ERROR "At least Python 3.9 is required to build") endif() file(GLOB RESULT "${CMAKE_SOURCE_DIR}/release/scripts/addons") |