[Piglit] [PATCH 2/2] EGL: build the egl_chromium_sync_control test only if PIGLIT_HAS_X11
Mircea Gherzan
mircea.gherzan at intel.com
Thu Feb 11 23:22:49 UTC 2016
The test uses X11 headers so this guard is needed.
Signed-off-by: Mircea Gherzan <mircea.gherzan at intel.com>
---
tests/egl/spec/CMakeLists.txt | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/tests/egl/spec/CMakeLists.txt b/tests/egl/spec/CMakeLists.txt
index 5b720f8..5d5fc78 100644
--- a/tests/egl/spec/CMakeLists.txt
+++ b/tests/egl/spec/CMakeLists.txt
@@ -3,5 +3,7 @@ add_subdirectory (egl_ext_client_extensions)
add_subdirectory (egl_khr_create_context)
add_subdirectory (egl_khr_get_all_proc_addresses)
add_subdirectory (egl_khr_fence_sync)
-add_subdirectory (egl_chromium_sync_control)
+if (PIGLIT_HAS_X11)
+ add_subdirectory (egl_chromium_sync_control)
+endif (PIGLIT_HAS_X11)
add_subdirectory (egl_khr_surfaceless_context)
--
2.5.0
More information about the Piglit
mailing list