Commit b6403311 authored by Rafaël Carré's avatar Rafaël Carré

Win32: don't enable opengl modules if glew is missing

Bug appeared after c1452fef silently changed module selection rules
parent 22465279
......@@ -2974,6 +2974,10 @@ PKG_CHECK_MODULES([GL], [gl], [
have_gl="yes"
GL_CFLAGS=""
AS_IF([test "${SYS}" = "mingw32"], [
AC_CHECK_HEADER([GL/glew.h], [
], [
have_gl="no"
])
GL_LIBS="-lopengl32"
], [
GL_LIBS="-lGL"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment