summaryrefslogtreecommitdiffstats
path: root/Help/guide/tutorial/Step6/MathFunctions
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-11-08 15:42:22 (GMT)
committerBrad King <brad.king@kitware.com>2017-11-09 14:47:12 (GMT)
commite6b209c870af3b343e9703462777beb24dad55a6 (patch)
tree5048134569e44ea59b4b77d2fc09f6c652f71bbc /Help/guide/tutorial/Step6/MathFunctions
parentf44fb2dd4ce5e47cd0a12d1a25bda40f012d453a (diff)
downloadCMake-e6b209c870af3b343e9703462777beb24dad55a6.zip
CMake-e6b209c870af3b343e9703462777beb24dad55a6.tar.gz
CMake-e6b209c870af3b343e9703462777beb24dad55a6.tar.bz2
FindOpenGL: Default to non-GLVND libraries for legacy GL
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
Diffstat (limited to 'Help/guide/tutorial/Step6/MathFunctions')
0 files changed, 0 insertions, 0 deletions