summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhigang Gong <zhigang.gong@intel.com>2014-12-05 10:06:37 +0800
committerZhigang Gong <zhigang.gong@intel.com>2014-12-05 10:06:37 +0800
commit0edd84a00c391fe9d9d158f675e47c73b7b92425 (patch)
tree7a467d1c1118ad5c66d4c98c4eb437368b40441b
parentfd32c38aff3e7dae448a8d6b6dd137692a57a421 (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>
-rw-r--r--CMakeLists.txt12
1 files changed, 6 insertions, 6 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 49c89291..f790060b 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)