[Piglit] [PATCH 1/2] cl: only build interop tests if GLES2 is enabled
EdB
edb+piglit at sigluy.net
Tue May 19 10:10:11 PDT 2015
On Monday 18 May 2015 14:06:02 Marek Olšák wrote:
> From: Marek Olšák <marek.olsak at amd.com>
Reviewed-by: EdB <edb at sigluy.net>
>
> ---
> tests/cl/interop/CMakeLists.cl.txt | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/tests/cl/interop/CMakeLists.cl.txt
> b/tests/cl/interop/CMakeLists.cl.txt index d53e986..d8dc73a 100644
> --- a/tests/cl/interop/CMakeLists.cl.txt
> +++ b/tests/cl/interop/CMakeLists.cl.txt
> @@ -1,4 +1,4 @@
> -IF(EGL_FOUND)
> +IF(EGL_FOUND AND PIGLIT_BUILD_GLES2_TESTS)
> include_directories(
> ${GLEXT_INCLUDE_DIR}
> ${OPENGL_INCLUDE_PATH}
> @@ -12,4 +12,4 @@ IF(EGL_FOUND)
> )
>
> piglit_cl_add_interop_test (egl_khr_cl_event2 egl_khr_cl_event2.c)
> -ENDIF(EGL_FOUND)
> +ENDIF(EGL_FOUND AND PIGLIT_BUILD_GLES2_TESTS)
More information about the Piglit
mailing list