summaryrefslogtreecommitdiffstats
path: root/Modules/FindPNG.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-11-14 15:54:27 (GMT)
committerBrad King <brad.king@kitware.com>2017-11-15 18:44:59 (GMT)
commitff3c11eeaca1073664c810dd9e5f88ce38cc78c7 (patch)
tree3fb48e3e02116559fd91880232b12006a7e26b08 /Modules/FindPNG.cmake
parentaadc38c7fd46827dbd8864e0061c9cf2d16124fe (diff)
downloadCMake-ff3c11eeaca1073664c810dd9e5f88ce38cc78c7.zip
CMake-ff3c11eeaca1073664c810dd9e5f88ce38cc78c7.tar.gz
CMake-ff3c11eeaca1073664c810dd9e5f88ce38cc78c7.tar.bz2
FindOpenGL: Add option to prefer GLVND for legacy GL
Since commit v3.10.0-rc5~3^2 (FindOpenGL: Default to non-GLVND libraries for legacy GL, 2017-11-08) users may set `OPENGL_gl_LIBRARY` to empty to use GLVND components for the legacy GL interfaces. This is useful only when one knows in advance that the GLVND components will be found. Add a `OpenGL_GL_PREFERENCE` variable to specify a preference for legacy GL or GLVND. The latter can suppress `OPENGL_gl_LIBRARY` only when the needed GLVND components are found. If no preference is explicitly specified, choose a default based on whether GLVND components were requested (because this indicates the project has been updated for CMake 3.10). Issue: #17437 Issue: #17449
Diffstat (limited to 'Modules/FindPNG.cmake')
0 files changed, 0 insertions, 0 deletions