CMake: Don't link directly to libGL on Unix.
authorRyan C. Gordon <icculus@icculus.org>
Sun, 03 Jan 2016 21:48:17 -0500
changeset 10005dea345d3b00a
parent 10004 8f2f519d1e61
child 10006 5229da175b57
CMake: Don't link directly to libGL on Unix.

(we always dynamically load it at runtime when appropriate.)
cmake/sdlchecks.cmake
     1.1 --- a/cmake/sdlchecks.cmake	Sun Jan 03 20:52:44 2016 -0500
     1.2 +++ b/cmake/sdlchecks.cmake	Sun Jan 03 21:48:17 2016 -0500
     1.3 @@ -679,7 +679,6 @@
     1.4        set(SDL_VIDEO_OPENGL 1)
     1.5        set(SDL_VIDEO_OPENGL_GLX 1)
     1.6        set(SDL_VIDEO_RENDER_OGL 1)
     1.7 -      list(APPEND EXTRA_LIBS GL)
     1.8      endif()
     1.9    endif()
    1.10  endmacro()