mirror of
https://github.com/videolan/vlc.git
synced 2024-12-12 03:06:13 +08:00
Win32: do not enable glwin32 if GL/glext.h is missing
(GL/gl.h ought to be present if GL/glext.h is)
This commit is contained in:
parent
dd809074a2
commit
ce42f29afe
@ -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])
|
||||
])
|
||||
|
Loading…
Reference in New Issue
Block a user