summaryrefslogtreecommitdiffstats
path: root/Tests/Tutorial
diff options
context:
space:
mode:
authorTom Fogal <tfogal@nvidia.com>2017-06-09 01:02:42 (GMT)
committerBrad King <brad.king@kitware.com>2017-09-25 13:22:29 (GMT)
commite2e8a690cd7d1e5eba574b810842296beb603d9c (patch)
tree8db0dfd0a9bb1bff1e71bfe95cb820d5742e05b0 /Tests/Tutorial
parenteae3765b67b653d3f00afa44a60719a387262af8 (diff)
downloadCMake-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 'Tests/Tutorial')
0 files changed, 0 insertions, 0 deletions