[Beignet] [PATCH] check whether python is installed.
Zhigang Gong
zhigang.gong at linux.intel.com
Fri Jul 19 03:03:22 PDT 2013
We need python to do some source code generation things.
Signed-off-by: Zhigang Gong <zhigang.gong at linux.intel.com>
---
CMakeLists.txt | 2 ++
1 file changed, 2 insertions(+)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 11b1794..eb56567 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -139,6 +139,8 @@ ELSE(OCLIcd_FOUND)
MESSAGE(STATUS "Looking for OCL ICD header file - not found")
ENDIF(OCLIcd_FOUND)
+Find_Package(PythonInterp)
+
ADD_SUBDIRECTORY(include)
ADD_SUBDIRECTORY(backend)
ADD_SUBDIRECTORY(src)
--
1.7.9.5
More information about the Beignet
mailing list