Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-02-04 13:58:34 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-02-04 14:00:30 +0300
commit7e358b61818d7c9a4d60c42266d7d2e5008ff4ea (patch)
tree6940fe1ea6e7fb8bc11c60f2a193e58c6c6a21b9 /CMakeLists.txt
parent87aa456ea516f49c6029cf30f8f0dff16cbb58bc (diff)
Python: bump minimum version to 3.7
All platforms use 3.7 now, supporting both increases chance some scripts will fail on older versions.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4d599277fec..569e0bf7c83 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -763,8 +763,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.6")
- message(FATAL_ERROR "At least Python 3.6 is required to build")
+ if(DEFINED PYTHON_VERSION AND "${PYTHON_VERSION}" VERSION_LESS "3.7")
+ message(FATAL_ERROR "At least Python 3.7 is required to build")
endif()
if(NOT EXISTS "${CMAKE_SOURCE_DIR}/release/scripts/addons/modules")