Looks good to me.

Do you have commit access?

BTW, we should actually move the EGL detection to a separate .cmake to ease 
sharing with other projects (e.g., mesademos)

Jose

----- Original Message -----
> ---
>  CMakeLists.txt |    3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/CMakeLists.txt b/CMakeLists.txt
> index effa8d8..806b56f 100644
> --- a/CMakeLists.txt
> +++ b/CMakeLists.txt
> @@ -176,10 +176,13 @@ else (APPLE)
>       )
>  endif (APPLE)
>  
> +check_include_file(EGL/egl.h  OPENGL_egl_HEADER)
> +if(OPENGL_egl_HEADER)
>  FIND_LIBRARY(OPENGL_egl_LIBRARY
>        NAMES EGL
>        PATHS /usr/lib
>  )
> +endif(OPENGL_egl_HEADER)
>  find_library(OPENGL_gles1_LIBRARY NAMES GLESv1_CM)
>  find_library(OPENGL_gles2_LIBRARY NAMES GLESv2)
>  
> --
> 1.7.9.5
> 
> _______________________________________________
> Piglit mailing list
> [email protected]
> http://lists.freedesktop.org/mailman/listinfo/piglit
> 
_______________________________________________
Piglit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to