[Piglit] [PATCH 1/2] cl: only build interop tests if GLES2 is enabled

Marek Olšák maraeo at gmail.com
Mon May 18 05:06:02 PDT 2015


From: Marek Olšák <marek.olsak at amd.com>

---
 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)
-- 
2.1.0



More information about the Piglit mailing list