mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-12-11 05:00:59 +00:00
cmake: only gl1 renderer needs to be specifically linked
This commit is contained in:
parent
38843f0f33
commit
9700eb6baf
1 changed files with 1 additions and 1 deletions
|
@ -194,7 +194,7 @@ else()
|
|||
list(APPEND yquake2SDLLinkerFlags ${SDL2_LIBRARY})
|
||||
endif()
|
||||
|
||||
if(GL1_RENDERER OR GL3_RENDERER OR GLES1_RENDERER OR GLES2_RENDERER)
|
||||
if(GL1_RENDERER)
|
||||
# We need an OpenGL implementation.
|
||||
set(OpenGL_GL_PREFERENCE GLVND)
|
||||
find_package(OpenGL REQUIRED)
|
||||
|
|
Loading…
Reference in a new issue