-
- Downloads
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.
Showing
- Copyright.txt 1 addition, 0 deletionsCopyright.txt
- Help/release/dev/FindOpenGL-glvnd.rst 4 additions, 0 deletionsHelp/release/dev/FindOpenGL-glvnd.rst
- Modules/FindOpenGL.cmake 280 additions, 39 deletionsModules/FindOpenGL.cmake
- Tests/FindOpenGL/CMakeLists.txt 7 additions, 0 deletionsTests/FindOpenGL/CMakeLists.txt
- Tests/FindOpenGL/Test/CMakeLists.txt 57 additions, 1 deletionTests/FindOpenGL/Test/CMakeLists.txt
Help/release/dev/FindOpenGL-glvnd.rst
0 → 100644
Please register or sign in to comment