diff options
author | Brad King <brad.king@kitware.com> | 2014-12-03 15:01:58 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2014-12-03 15:01:58 (GMT) |
commit | beb75b378f156eed1caa882245278c4aadea6f63 (patch) | |
tree | efd521d36286c64e831b1b1914a0c2ec5de62f0f /Modules/FindPythonInterp.cmake | |
parent | eccc5e34cda8f4c784cffe4a255db82f5b20f832 (diff) | |
parent | 4c8c3ba912fcca9d9154365d0757ce14b3be0670 (diff) | |
download | CMake-beb75b378f156eed1caa882245278c4aadea6f63.zip CMake-beb75b378f156eed1caa882245278c4aadea6f63.tar.gz CMake-beb75b378f156eed1caa882245278c4aadea6f63.tar.bz2 |
Merge topic 'FindPythonInterp-Fix-1.4'
4c8c3ba9 FindPythonInterp: fix version component variables for Python 1.4 (#15275)
Diffstat (limited to 'Modules/FindPythonInterp.cmake')
-rw-r--r-- | Modules/FindPythonInterp.cmake | 4 |
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) |