summaryrefslogtreecommitdiffstats
path: root/Modules/FindPythonInterp.cmake
diff options
context:
space:
mode:
authorRolf Eike Beer <eike@sf-mail.de>2014-12-02 14:36:59 (GMT)
committerRolf Eike Beer <eike@sf-mail.de>2014-12-02 14:36:59 (GMT)
commit4c8c3ba912fcca9d9154365d0757ce14b3be0670 (patch)
treefa58eb417f2b1af1d492303e9963874e728d20d3 /Modules/FindPythonInterp.cmake
parent5062bf748822b276b9766215b07670754ee1c76c (diff)
downloadCMake-4c8c3ba912fcca9d9154365d0757ce14b3be0670.zip
CMake-4c8c3ba912fcca9d9154365d0757ce14b3be0670.tar.gz
CMake-4c8c3ba912fcca9d9154365d0757ce14b3be0670.tar.bz2
FindPythonInterp: fix version component variables for Python 1.4 (#15275)
This bug was introduced in "FindPythonInterp: rework the version detection" 7d6db93de9ffc6e6092fa722aaf9c057dadcd634.
Diffstat (limited to 'Modules/FindPythonInterp.cmake')
-rw-r--r--Modules/FindPythonInterp.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/FindPythonInterp.cmake b/Modules/FindPythonInterp.cmake
index 5e5c7b9..8784e18 100644
--- a/Modules/FindPythonInterp.cmake
+++ b/Modules/FindPythonInterp.cmake
@@ -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)