Revision e6b209c870af3b343e9703462777beb24dad55a6 authored by Brad King on 08 November 2017, 15:42:22 UTC, committed by Brad King on 09 November 2017, 14:47:12 UTC
Projects using `OPENGL_LIBRARIES` or `OpenGL::GL` expect legacy GL.
Although GLVND OpenGL+GLX provides legacy GL interfaces, using those
library files may conflict with legacy GL library files used by
dependencies (or dependents) of such projects.  Therefore we should
not yet use OpenGL+GLX when a legacy GL library is available.

If `OPENGL_gl_LIBRARY` is set then use it as the legacy GL library.
If it is *not* set then fall back to using GLVND OpenGL+GLX to provide
legacy GL interfaces.  This will allow users to build projects using
GLVND even if they have not been ported.

Fixes: #17437
1 parent f44fb2d
History
File Mode Size
bash-completion
vim
CMakeLists.txt -rw-r--r-- 256 bytes
cmake-mode.el -rw-r--r-- 14.3 KB
cmake.m4 -rw-r--r-- 1.4 KB

back to top