From 37ac4ce9c679247c1eb11e02ebea761b7af61044 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sat, 10 Jul 2021 00:36:24 +0200 Subject: Add CMake option OpenGL_GL_PREFERENCE related to OpenGL detection. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- ConfigureChecks.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake index 592333db..93544529 100644 --- a/ConfigureChecks.cmake +++ b/ConfigureChecks.cmake @@ -50,6 +50,7 @@ if( BUILD_TDESCREENSAVER ) # OpenGL(tdescreensaver/kdesavers) if( WITH_OPENGL ) + set( OpenGL_GL_PREFERENCE LEGACY ) find_package( OpenGL REQUIRED ) if( NOT OPENGL_FOUND ) tde_message_fatal( "OpenGL is required, but was not found on your system" ) -- cgit v1.2.1