diff options
author | Slávek Banko <[email protected]> | 2021-07-10 00:36:24 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2021-07-10 00:36:24 +0200 |
commit | 37ac4ce9c679247c1eb11e02ebea761b7af61044 (patch) | |
tree | 69429234fb8709dea1908daaa34f9f12230387e6 /ConfigureChecks.cmake | |
parent | aa772880377650c24e258970f5ee8540c3793e5c (diff) | |
download | tdeartwork-37ac4ce9c679247c1eb11e02ebea761b7af61044.tar.gz tdeartwork-37ac4ce9c679247c1eb11e02ebea761b7af61044.zip |
Add CMake option OpenGL_GL_PREFERENCE related to OpenGL detection.
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'ConfigureChecks.cmake')
-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" ) |