mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-20 22:16:49 +01:00
CMake: Don't search for the OpenGL library on Mac OS X. It's always there.
This commit is contained in:
parent
182a7768e1
commit
70191a9302
@ -1151,10 +1151,6 @@ elseif(APPLE)
|
|||||||
set(SDL_VIDEO_OPENGL 1)
|
set(SDL_VIDEO_OPENGL 1)
|
||||||
set(SDL_VIDEO_OPENGL_CGL 1)
|
set(SDL_VIDEO_OPENGL_CGL 1)
|
||||||
set(SDL_VIDEO_RENDER_OGL 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)
|
set(HAVE_VIDEO_OPENGL TRUE)
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user