summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
Diffstat (limited to 'Modules')
-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)
+