Commit ce42f29a authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Win32: do not enable glwin32 if GL/glext.h is missing

(GL/gl.h ought to be present if GL/glext.h is)
parent dd809074
......@@ -3341,7 +3341,7 @@ then
VLC_ADD_LIBS([directx],[-lgdi32])
],[AC_MSG_ERROR([Cannot find DirectX headers!])]
)
AC_CHECK_HEADERS(GL/gl.h,
AC_CHECK_HEADERS(GL/glext.h,
[ VLC_ADD_PLUGIN([glwin32])
VLC_ADD_LIBS([glwin32],[-lopengl32 -lgdi32])
])
......
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