summaryrefslogtreecommitdiff
path: root/Modules/FindPythonInterp.cmake
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-07-15 11:45:42 -0400
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-07-15 11:45:42 -0400
commitd85f394d961fb6dd196dfe560e612031e81b8615 (patch)
tree68a3fe757eb95e5dd7b3fe5d06a2f3a7aba58640 /Modules/FindPythonInterp.cmake
parent53cc54918011a426649cc7b095a564850dc408e5 (diff)
downloadcmake-d85f394d961fb6dd196dfe560e612031e81b8615.tar.gz
BUG: Set PYTHONINTERP_FOUND
Diffstat (limited to 'Modules/FindPythonInterp.cmake')
-rw-r--r--Modules/FindPythonInterp.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/Modules/FindPythonInterp.cmake b/Modules/FindPythonInterp.cmake
index b9e992eabc..8fdc69e17f 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)
+