summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ConfigureChecks.cmake1
1 files changed, 1 insertions, 0 deletions
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" )