mirror of https://github.com/encounter/SDL.git
CMake: Don't link directly to libGL on Unix.
(we always dynamically load it at runtime when appropriate.)
This commit is contained in:
parent
1240f8e0a6
commit
9fcf5d7d4d
|
@ -679,7 +679,6 @@ macro(CheckOpenGLX11)
|
|||
set(SDL_VIDEO_OPENGL 1)
|
||||
set(SDL_VIDEO_OPENGL_GLX 1)
|
||||
set(SDL_VIDEO_RENDER_OGL 1)
|
||||
list(APPEND EXTRA_LIBS GL)
|
||||
endif()
|
||||
endif()
|
||||
endmacro()
|
||||
|
|
Loading…
Reference in New Issue