[Beignet] [PATCH] Let the failure of intel_drm lib's check as a FATAL_ERROR

junyan.he at inbox.com junyan.he at inbox.com
Mon Oct 13 22:58:02 PDT 2014


From: Junyan He <junyan.he at linux.intel.com>

Signed-off-by: Junyan He <junyan.he at linux.intel.com>
---
 CMakeLists.txt |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 99f8b27..9ccf814 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -120,7 +120,7 @@ IF(DRM_INTEL_FOUND)
   INCLUDE_DIRECTORIES(${DRM_INTEL_INCLUDE_DIRS})
   MESSAGE(STATUS "Looking for DRM Intel - found at ${DRM_INTEL_PREFIX}")
 ELSE(DRM_INTEL_FOUND)
-  MESSAGE(STATUS "Looking for DRM Intel - not found")
+  MESSAGE(FATAL_ERROR "Looking for DRM Intel - not found")
 ENDIF(DRM_INTEL_FOUND)
 
 # Threads
-- 
1.7.9.5



More information about the Beignet mailing list