diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2021-07-10 00:36:24 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2021-07-10 00:36:39 +0200 |
commit | f391578870243244f656a2326f16459410dad1bc (patch) | |
tree | 5e86a8f9f916d24ba10e60ce45e943f043d53f50 | |
parent | 441168756e4dce210b48c7e559d1f90eed2b45e0 (diff) | |
download | tdeartwork-f391578870243244f656a2326f16459410dad1bc.tar.gz tdeartwork-f391578870243244f656a2326f16459410dad1bc.zip |
Add CMake option OpenGL_GL_PREFERENCE related to OpenGL detection.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 37ac4ce9c679247c1eb11e02ebea761b7af61044)
-rw-r--r-- | ConfigureChecks.cmake | 1 |
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" ) |