mirror of
https://github.com/reactos/CMake.git
synced 2024-12-13 22:58:41 +00:00
21 lines
840 B
CMake
21 lines
840 B
CMake
|
#
|
||
|
# This module finds if Python interpreter is installed and determines where the
|
||
|
# executables are. This code sets the following variables:
|
||
|
#
|
||
|
# PYTHONINTERP_FOUND - Set to true when Python executable is found
|
||
|
# PYTHON_EXECUTABLE - The full path to the Python interpreter
|
||
|
#
|
||
|
|
||
|
FIND_PROGRAM(PYTHON_EXECUTABLE
|
||
|
NAMES python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5 python
|
||
|
PATHS
|
||
|
[HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\2.3\\InstallPath]
|
||
|
[HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\2.2\\InstallPath]
|
||
|
[HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\2.1\\InstallPath]
|
||
|
[HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\2.0\\InstallPath]
|
||
|
[HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\1.6\\InstallPath]
|
||
|
[HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\1.5\\InstallPath]
|
||
|
)
|
||
|
|
||
|
|