CMake: Don't search for the OpenGL library on Mac OS X. It's always there.
authorRyan C. Gordon <icculus@icculus.org>
Fri, 20 Mar 2015 11:51:03 -0400
changeset 94116810478a60e9
parent 9410 e25530faeda0
child 9412 8b1436ce1028
CMake: Don't search for the OpenGL library on Mac OS X. It's always there.
CMakeLists.txt
     1.1 --- a/CMakeLists.txt	Fri Mar 20 11:11:44 2015 -0400
     1.2 +++ b/CMakeLists.txt	Fri Mar 20 11:51:03 2015 -0400
     1.3 @@ -1151,10 +1151,6 @@
     1.4        set(SDL_VIDEO_OPENGL 1)
     1.5        set(SDL_VIDEO_OPENGL_CGL 1)
     1.6        set(SDL_VIDEO_RENDER_OGL 1)
     1.7 -      if(DARWIN)
     1.8 -        find_library(OpenGL_LIBRARY OpenGL)
     1.9 -        list(APPEND EXTRA_LIBRARIES ${OpenGL_LIBRARY})
    1.10 -      endif()
    1.11        set(HAVE_VIDEO_OPENGL TRUE)
    1.12      endif()
    1.13    endif()