From 6b0f3ce641e1a5125e761f8abbe076abd5dedca0 Mon Sep 17 00:00:00 2001 From: "Frank H. Ellenberger" Date: Tue, 14 May 2019 04:21:55 +0200 Subject: [PATCH] Unify optionally required Python version - PR #481 supplement --- CMakeLists.txt | 4 ++-- README.dependencies | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 23eb5e9ed0..dd2ef68fb6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -474,8 +474,8 @@ if (WITH_PYTHON) message(SEND_ERROR "Python support enabled, but Python interpreter not found.") endif() - if (PYTHON_VERSION_STRING VERSION_LESS "2.4.0") - message(SEND_ERROR "Found python version ${PYTHON_VERSION_STRING}, but it's too old. Need python >= 2.4.0") + if (PYTHON_VERSION_STRING VERSION_LESS "3.2.0") + message(SEND_ERROR "Found python version ${PYTHON_VERSION_STRING}, but it's too old. Need python >= 3.2.0") endif() find_package(PythonLibs 3) diff --git a/README.dependencies b/README.dependencies index db0ea9ec29..42b28344cb 100644 --- a/README.dependencies +++ b/README.dependencies @@ -94,7 +94,7 @@ Libraries/Deps libofx 0.9.0 OFX/QFX import - python 3.4.0 python bindings; headers + python 3.2.0 python bindings; headers required, not just binaries. makeinfo Not really needed, it