summaryrefslogtreecommitdiffstats
path: root/Modules/FindPythonInterp.cmake
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-07-15 15:45:42 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-07-15 15:45:42 (GMT)
commitd85f394d961fb6dd196dfe560e612031e81b8615 (patch)
tree68a3fe757eb95e5dd7b3fe5d06a2f3a7aba58640 /Modules/FindPythonInterp.cmake
parent53cc54918011a426649cc7b095a564850dc408e5 (diff)
downloadCMake-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.cmake5
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)
+