diff options
author | Vinson Lee <vlee@freedesktop.org> | 2016-09-12 11:26:17 -0700 |
---|---|---|
committer | Vinson Lee <vlee@freedesktop.org> | 2016-09-23 14:42:04 -0700 |
commit | 65de2254f60a8c755342a00722fa474d2f15ce20 (patch) | |
tree | 29317914ad9a019a3aac4a2f6934ba35843cf5c0 | |
parent | 5b70a2bda1fa12044ec01cc893192d0015b77a18 (diff) |
cmake: Require egl 11.0.
mesa 11.0 is needed for EGLDeviceEXT symbol.
egl_ext_device_query.c: In function ‘main’:
egl_ext_device_query.c:33:2: error: unknown type name ‘EGLDeviceEXT’
EGLDeviceEXT device = EGL_NO_DEVICE_EXT;
^
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 536f77583..ce7f3f8aa 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -412,7 +412,7 @@ endif(HAVE_LIBCACA) endif(GBM_FOUND) if(PIGLIT_USE_WAFFLE AND ${CMAKE_SYSTEM_NAME} STREQUAL "Linux") - pkg_check_modules(EGL egl) + pkg_check_modules(EGL egl>=11.0) endif() if(EGL_FOUND) |