[Piglit] [PATCH 0/4] cmake: Use pkg-config to find EGL

Chad Versace chad.versace at linux.intel.com
Thu Oct 17 00:30:09 CEST 2013


Should fix Ian's build failure with egl-terminate-then-unbind-context.c.

Windows doesn't have pkg-config. So, if Piglit ever wants to support the EGL
tests on Windows, we will need to create a wrapper that calls into
pkg_check_modules() or find_package() based on OS.

Chad Versace (4):
  cmake: Remove unused PIGLIT_HAS_EGL
  cmake: Add option PIGLIT_BUILD_EGL_TESTS
  cmake: Condition on PIGLIT_BUILD_EGL_TESTS not OPENGL_egl_LIBRARY
  cmake: Use pkg-config to find EGL

 CMakeLists.txt                                         | 18 ++++++++----------
 tests/CMakeLists.txt                                   |  4 ++--
 tests/egl/CMakeLists.gl.txt                            |  2 +-
 tests/egl/spec/egl-1.4/CMakeLists.gles2.txt            |  2 +-
 .../egl/spec/egl_khr_create_context/CMakeLists.gl.txt  |  2 +-
 .../spec/egl_khr_create_context/CMakeLists.gles2.txt   |  2 +-
 .../spec/ext_image_dma_buf_import/CMakeLists.gles1.txt |  2 +-
 .../spec/ext_image_dma_buf_import/CMakeLists.gles2.txt |  2 +-
 tests/util/CMakeLists.txt                              |  6 +++---
 9 files changed, 19 insertions(+), 21 deletions(-)

-- 
1.8.3.1



More information about the Piglit mailing list