mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Unify optionally required Python version - PR #481 supplement
This commit is contained in:
parent
e6c50357bb
commit
6b0f3ce641
@ -474,8 +474,8 @@ if (WITH_PYTHON)
|
|||||||
message(SEND_ERROR "Python support enabled, but Python interpreter not found.")
|
message(SEND_ERROR "Python support enabled, but Python interpreter not found.")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (PYTHON_VERSION_STRING VERSION_LESS "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 >= 2.4.0")
|
message(SEND_ERROR "Found python version ${PYTHON_VERSION_STRING}, but it's too old. Need python >= 3.2.0")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
find_package(PythonLibs 3)
|
find_package(PythonLibs 3)
|
||||||
|
@ -94,7 +94,7 @@ Libraries/Deps
|
|||||||
|
|
||||||
libofx 0.9.0 OFX/QFX import
|
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.
|
required, not just binaries.
|
||||||
|
|
||||||
makeinfo Not really needed, it
|
makeinfo Not really needed, it
|
||||||
|
Loading…
Reference in New Issue
Block a user