diff options
author | Tom Fogal <tfogal@nvidia.com> | 2017-06-09 01:02:42 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-09-25 13:22:29 (GMT) |
commit | e2e8a690cd7d1e5eba574b810842296beb603d9c (patch) | |
tree | 8db0dfd0a9bb1bff1e71bfe95cb820d5742e05b0 /Help | |
parent | eae3765b67b653d3f00afa44a60719a387262af8 (diff) | |
download | CMake-e2e8a690cd7d1e5eba574b810842296beb603d9c.zip CMake-e2e8a690cd7d1e5eba574b810842296beb603d9c.tar.gz CMake-e2e8a690cd7d1e5eba574b810842296beb603d9c.tar.bz2 |
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.
Diffstat (limited to 'Help')
-rw-r--r-- | Help/release/dev/FindOpenGL-glvnd.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Help/release/dev/FindOpenGL-glvnd.rst b/Help/release/dev/FindOpenGL-glvnd.rst new file mode 100644 index 0000000..b3c8d53 --- /dev/null +++ b/Help/release/dev/FindOpenGL-glvnd.rst @@ -0,0 +1,4 @@ +FindOpenGL-glvnd +---------------- + +* The :module:`FindOpenGL` module gained support for GLVND on Linux. |