diff options
| author | Yaroslav Isakov <yaroslav.isakov@gmail.com> | 2023-07-08 22:09:40 +0200 |
|---|---|---|
| committer | Yaroslav Isakov <yaroslav.isakov@gmail.com> | 2023-07-12 11:25:23 +0200 |
| commit | 929d9a4ca5c9eb0a590479182471d0bbc81589aa (patch) | |
| tree | a9c8f9a3713de92d74ca46cf70468321e26d0f68 /src/gui/doc/snippets/textdocument-resources/main.cpp | |
| parent | 87bfd3308209c3f859d116c024de1d2c35bf18b3 (diff) | |
Allow OpenGL to be found on X11-less Linux systems (using libOpenGL)
Cmake supports finding OpenGL, even if there is no GLX (for glvnd) or
old-style libGL. This change keeps old behavior, but in case, if
X11-related OpenGL libraries cannot be found on Linux, it adds logic
to check for (and link with) libOpenGL, if it is present.
[ChangeLog][QtGui] Allow OpenGL to be found on X11-less Linux systems
(using libOpenGL)
Change-Id: Iccfeba83292a14081544c64ea8ce24fb52d1ee2f
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'src/gui/doc/snippets/textdocument-resources/main.cpp')
0 files changed, 0 insertions, 0 deletions
