Unify optionally required Python version - PR #481 supplement

This commit is contained in:
Frank H. Ellenberger 2019-05-14 04:21:55 +02:00
parent e6c50357bb
commit 6b0f3ce641
2 changed files with 3 additions and 3 deletions

View File

@ -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)

View File

@ -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