Skip to content

Commit

Permalink
CMake: Don't search for the OpenGL library on Mac OS X. It's always t…
Browse files Browse the repository at this point in the history
…here.
  • Loading branch information
icculus committed Mar 20, 2015
1 parent 182a776 commit 70191a9
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions CMakeLists.txt
Expand Up @@ -1151,10 +1151,6 @@ elseif(APPLE)
set(SDL_VIDEO_OPENGL 1)
set(SDL_VIDEO_OPENGL_CGL 1)
set(SDL_VIDEO_RENDER_OGL 1)
if(DARWIN)
find_library(OpenGL_LIBRARY OpenGL)
list(APPEND EXTRA_LIBRARIES ${OpenGL_LIBRARY})
endif()
set(HAVE_VIDEO_OPENGL TRUE)
endif()
endif()
Expand Down

0 comments on commit 70191a9

Please sign in to comment.