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

Zhigang Gong zhigang.gong at linux.intel.com
Mon Oct 13 22:21:09 PDT 2014


On Tue, Oct 14, 2014 at 01:58:02PM +0800, junyan.he at inbox.com wrote:
> 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")
This error message is not accurate, I will change it to " DRM Intel (>= 2.4.52)".
Will push latter, thanks.

>  ENDIF(DRM_INTEL_FOUND)
>  
>  # Threads
> -- 
> 1.7.9.5
> 
> _______________________________________________
> Beignet mailing list
> Beignet at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/beignet


More information about the Beignet mailing list