summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhigang Gong <zhigang.gong@intel.com>2014-12-05 10:19:21 +0800
committerZhigang Gong <zhigang.gong@intel.com>2014-12-15 15:05:07 +0800
commit47ebe2e96c777d9fd2ba07cef0e681eaff243fa1 (patch)
treeae40c191dbb6bed1afc08b39cdd36a9e2a517e34
parentb624a6e3982fc225ef3119cb7132ae4b28664de6 (diff)
CL: Don't find mesa source code.
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@intel.com> Reviewed-by: "Yang, Rong R" <rong.r.yang@intel.com>
-rw-r--r--CMakeLists.txt12
1 files changed, 6 insertions, 6 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 369aba73..a9675403 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -177,12 +177,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)