summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2021-07-10 00:36:24 +0200
committerSlávek Banko <slavek.banko@axis.cz>2021-07-10 00:36:24 +0200
commit37ac4ce9c679247c1eb11e02ebea761b7af61044 (patch)
tree69429234fb8709dea1908daaa34f9f12230387e6
parentaa772880377650c24e258970f5ee8540c3793e5c (diff)
downloadtdeartwork-37ac4ce9.tar.gz
tdeartwork-37ac4ce9.zip
Add CMake option OpenGL_GL_PREFERENCE related to OpenGL detection.HEADmaster
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-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" )