Skip to content

Commit

Permalink
Unify optionally required Python version - PR Gnucash#481 supplement
Browse files Browse the repository at this point in the history
  • Loading branch information
fellen committed May 14, 2019
1 parent e6c5035 commit 6b0f3ce
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion README.dependencies
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6b0f3ce

Please sign in to comment.