[Beignet] [PATCH] CL: Don't find mesa source code.
Zhigang Gong
zhigang.gong at intel.com
Thu Dec 4 18:19:21 PST 2014
As build with mesa has been broken for a long time, we
disable it to avoid potential build problem.
Signed-off-by: Zhigang Gong <zhigang.gong at intel.com>
---
CMakeLists.txt | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 49c8929..f790060 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -170,12 +170,12 @@ ELSE(EGL_FOUND)
ENDIF(EGL_FOUND)
# cl_khr_gl_sharing requires to build with mesa source
-Find_Package(MesaSrc)
-IF(MESA_SOURCE_FOUND)
- MESSAGE(STATUS "Looking for mesa source code - found at ${MESA_SOURCE_PREFIX}")
-ELSE(MESA_SOURCE_FOUND)
- MESSAGE(STATUS "Looking for mesa source code - not found, cl_khr_gl_sharing will be disabled.")
-ENDIF(MESA_SOURCE_FOUND)
+#Find_Package(MesaSrc)
+#IF(MESA_SOURCE_FOUND)
+# MESSAGE(STATUS "Looking for mesa source code - found at ${MESA_SOURCE_PREFIX}")
+#ELSE(MESA_SOURCE_FOUND)
+# MESSAGE(STATUS "Looking for mesa source code - not found, cl_khr_gl_sharing will be disabled.")
+#ENDIF(MESA_SOURCE_FOUND)
Find_Package(OCLIcd)
IF(OCLIcd_FOUND)
--
1.8.3.2
More information about the Beignet
mailing list