mirror of
https://github.com/brl/mutter.git
synced 2024-11-23 00:20:42 -05:00
configure.ac: when checking for gl2ext.h include gl2.h
This makes sure we include gl2.h when looking for gl2ext.h since gl2ext.h can't always be used standalone.
This commit is contained in:
parent
c23b283968
commit
8b914dfa30
@ -433,7 +433,9 @@ AS_IF([test "x$COGL_DRIVER" = "xgles"],
|
|||||||
[
|
[
|
||||||
AC_CHECK_HEADERS([$cogl_gl_headers],
|
AC_CHECK_HEADERS([$cogl_gl_headers],
|
||||||
[],
|
[],
|
||||||
[AC_MSG_ERROR([Unable to locate required GLES headers])])
|
[AC_MSG_ERROR([Unable to locate required GLES headers])],
|
||||||
|
[[#include <GLES2/gl2.h>
|
||||||
|
]])
|
||||||
|
|
||||||
FLAVOUR_LIBS="$FLAVOUR_LIBS -lGLESv2"
|
FLAVOUR_LIBS="$FLAVOUR_LIBS -lGLESv2"
|
||||||
])
|
])
|
||||||
|
Loading…
Reference in New Issue
Block a user