From 9700eb6baf84d688ad919d45e41812164834e564 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20T=C3=B6rnblom?= Date: Sun, 17 Nov 2024 01:34:07 +0100 Subject: [PATCH] cmake: only gl1 renderer needs to be specifically linked --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 64a5d61c..1892d1f6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)