Changed the OpenGL CMake preference to LEGACY
Certain distribution does not handle GLVND well, as the result the accelerated canvas is not enabled. For the time being it is better to keep using the legacy preference. Thanks to Aurelio Lucchesi for investigating the cause. Fixes: lp:1781581 * https://bugs.launchpad.net/kicad/+bug/1781581
This commit is contained in:
parent
6fdc5972f8
commit
01925fd6a7
|
@ -598,7 +598,7 @@ endif()
|
|||
#
|
||||
# Find OpenGL library, required
|
||||
#
|
||||
set( OpenGL_GL_PREFERENCE "GLVND" ) # CMake 3.11+ setting; see 'cmake --help-policy CMP0072'
|
||||
set( OpenGL_GL_PREFERENCE "LEGACY" ) # CMake 3.11+ setting; see 'cmake --help-policy CMP0072'
|
||||
find_package( OpenGL REQUIRED )
|
||||
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue