| 1 |
set(SOURCES GLContextEGL.cpp |
| 2 |
GLContext.cpp |
| 3 |
OptionalsReg.cpp |
| 4 |
OSScreenSaverX11.cpp |
| 5 |
WinEventsX11.cpp |
| 6 |
WinSystemX11.cpp |
| 7 |
XRandR.cpp |
| 8 |
X11DPMSSupport.cpp) |
| 9 |
|
| 10 |
set(HEADERS GLContext.h |
| 11 |
GLContextEGL.h |
| 12 |
OptionalsReg.h |
| 13 |
OSScreenSaverX11.h |
| 14 |
WinEventsX11.h |
| 15 |
WinSystemX11.h |
| 16 |
XRandR.h |
| 17 |
X11DPMSSupport.h) |
| 18 |
|
| 19 |
if(GLX_FOUND) |
| 20 |
list(APPEND SOURCES GLContextGLX.cpp |
| 21 |
VideoSyncGLX.cpp) |
| 22 |
list(APPEND HEADERS GLContextGLX.h |
| 23 |
VideoSyncGLX.h) |
| 24 |
endif() |
| 25 |
|
| 26 |
if(TARGET OpenGL::GL) |
| 27 |
list(APPEND SOURCES WinSystemX11GLContext.cpp) |
| 28 |
list(APPEND HEADERS WinSystemX11GLContext.h) |
| 29 |
list(APPEND SOURCES VideoSyncOML.cpp) |
| 30 |
list(APPEND HEADERS VideoSyncOML.h) |
| 31 |
endif() |
| 32 |
if(TARGET OpenGL::GLES) |
| 33 |
list(APPEND SOURCES WinSystemX11GLESContext.cpp) |
| 34 |
list(APPEND HEADERS WinSystemX11GLESContext.h) |
| 35 |
endif() |
| 36 |
|
| 37 |
core_add_library(windowing_X11) |