The test uses X11 headers so this guard is needed. Signed-off-by: Mircea Gherzan <[email protected]> --- 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 _______________________________________________ Piglit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/piglit
