[Beignet] [PATCH V2] disable CMRT as default, since no real case reported
Guo, Yejun
yejun.guo at intel.com
Wed Nov 30 08:42:01 UTC 2016
and this feature also sometimes introduces build issue.
v2: add option INVOKE_CMRT to enable CMRT if necessary
Signed-off-by: Guo, Yejun <yejun.guo at intel.com>
---
CMakeLists.txt | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 713cfa9..503c609 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -176,10 +176,14 @@ ELSE(DRM_INTEL_FOUND)
ENDIF(DRM_INTEL_FOUND)
# CMRT
+#disable CMRT as default, since we do not see real case,
+#but see build issue of this feature
+IF(INVOKE_CMRT)
pkg_check_modules(CMRT libcmrt)
IF(CMRT_FOUND)
INCLUDE_DIRECTORIES(${CMRT_INCLUDE_DIRS})
ENDIF(CMRT_FOUND)
+ENDIF(INVOKE_CMRT)
# Threads
Find_Package(Threads)
--
1.9.1
More information about the Beignet
mailing list