From 70191a9302beb11eb8e41d4d4ade66b092c7936f Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Fri, 20 Mar 2015 11:51:03 -0400 Subject: [PATCH] CMake: Don't search for the OpenGL library on Mac OS X. It's always there. --- CMakeLists.txt | 4 ---- 1 file changed, 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index bb69a841081fd..43d1609f1e7f1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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()