CMake: Don't link directly to libGL on Unix.

(we always dynamically load it at runtime when appropriate.)
This commit is contained in:
Ryan C. Gordon 2016-01-03 21:48:17 -05:00
parent 1240f8e0a6
commit 9fcf5d7d4d
1 changed files with 0 additions and 1 deletions

View File

@ -679,7 +679,6 @@ macro(CheckOpenGLX11)
set(SDL_VIDEO_OPENGL 1) set(SDL_VIDEO_OPENGL 1)
set(SDL_VIDEO_OPENGL_GLX 1) set(SDL_VIDEO_OPENGL_GLX 1)
set(SDL_VIDEO_RENDER_OGL 1) set(SDL_VIDEO_RENDER_OGL 1)
list(APPEND EXTRA_LIBS GL)
endif() endif()
endif() endif()
endmacro() endmacro()