diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-07-15 15:45:42 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-07-15 15:45:42 (GMT) |
commit | d85f394d961fb6dd196dfe560e612031e81b8615 (patch) | |
tree | 68a3fe757eb95e5dd7b3fe5d06a2f3a7aba58640 /Modules/FindPythonInterp.cmake | |
parent | 53cc54918011a426649cc7b095a564850dc408e5 (diff) | |
download | CMake-d85f394d961fb6dd196dfe560e612031e81b8615.zip CMake-d85f394d961fb6dd196dfe560e612031e81b8615.tar.gz CMake-d85f394d961fb6dd196dfe560e612031e81b8615.tar.bz2 |
BUG: Set PYTHONINTERP_FOUND
Diffstat (limited to 'Modules/FindPythonInterp.cmake')
-rw-r--r-- | Modules/FindPythonInterp.cmake | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Modules/FindPythonInterp.cmake b/Modules/FindPythonInterp.cmake index b9e992e..8fdc69e 100644 --- a/Modules/FindPythonInterp.cmake +++ b/Modules/FindPythonInterp.cmake @@ -17,4 +17,9 @@ FIND_PROGRAM(PYTHON_EXECUTABLE [HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\1.5\\InstallPath] ) +SET(PYTHONINTERP_FOUND) +IF(PYTHON_EXECUTABLE) + SET(PYTHONINTERP_FOUND ON) +ENDIF(PYTHON_EXECUTABLE) + |