summaryrefslogtreecommitdiffstats
path: root/Modules/FindPythonInterp.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-12-03 15:01:58 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2014-12-03 15:01:58 (GMT)
commitbeb75b378f156eed1caa882245278c4aadea6f63 (patch)
treeefd521d36286c64e831b1b1914a0c2ec5de62f0f /Modules/FindPythonInterp.cmake
parenteccc5e34cda8f4c784cffe4a255db82f5b20f832 (diff)
parent4c8c3ba912fcca9d9154365d0757ce14b3be0670 (diff)
downloadCMake-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.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)