FindPythonInterp: fix version component variables for Python 1.4 (#15275)

This bug was introduced in "FindPythonInterp: rework the version detection"
7d6db93de9.
This commit is contained in:
Rolf Eike Beer 2014-12-02 15:36:59 +01:00
parent 5062bf7488
commit 4c8c3ba912
1 changed files with 2 additions and 2 deletions

View File

@ -148,8 +148,8 @@ if(PYTHON_EXECUTABLE)
# this is older.
set(PYTHON_VERSION_STRING "1.4")
set(PYTHON_VERSION_MAJOR "1")
set(PYTHON_VERSION_MAJOR "4")
set(PYTHON_VERSION_MAJOR "0")
set(PYTHON_VERSION_MINOR "4")
set(PYTHON_VERSION_PATCH "0")
endif()
endif()
unset(_PYTHON_VERSION_RESULT)