mirror of
https://github.com/Kitware/CMake.git
synced 2026-03-09 10:00:12 -05:00
FindOpenGL: Add support for GLVND on Linux
Find GLVND components if available. Add `GLX` and `EGL` options for COMPONENTS that allow requesting these libraries explicitly. Introduce new import targets for these windowing-system-specific libraries. On a GLVND system, populate the legacy `OPENGL_LIBRARIES` variable and the `OpenGL::GL` target using the `OpenGL` and `GLX` components. On non-GLVND systems, continue to use the legacy `GL` library and simply do not provide the GLVND components. Application code can choose to adapt based on the availability of GLVND components as imported targets.
This commit is contained in:
4
Help/release/dev/FindOpenGL-glvnd.rst
Normal file
4
Help/release/dev/FindOpenGL-glvnd.rst
Normal file
@@ -0,0 +1,4 @@
|
||||
FindOpenGL-glvnd
|
||||
----------------
|
||||
|
||||
* The :module:`FindOpenGL` module gained support for GLVND on Linux.
|
||||
Reference in New Issue
Block a user