Changeset View
Changeset View
Standalone View
Standalone View
plugins/platforms/x11/standalone/CMakeLists.txt
1 | set(X11PLATFORM_SOURCES | 1 | set(X11PLATFORM_SOURCES | ||
---|---|---|---|---|---|
2 | edge.cpp | 2 | edge.cpp | ||
3 | logging.cpp | 3 | logging.cpp | ||
4 | x11cursor.cpp | 4 | x11cursor.cpp | ||
5 | x11_platform.cpp | 5 | x11_platform.cpp | ||
6 | screens_xrandr.cpp | 6 | screens_xrandr.cpp | ||
7 | windowselector.cpp | 7 | windowselector.cpp | ||
8 | overlaywindow_x11.cpp | 8 | overlaywindow_x11.cpp | ||
9 | ) | 9 | ) | ||
10 | 10 | | |||
11 | if(X11_Xinput_FOUND) | 11 | if(X11_Xinput_FOUND) | ||
12 | set(X11PLATFORM_SOURCES ${X11PLATFORM_SOURCES} xinputintegration.cpp) | 12 | set(X11PLATFORM_SOURCES ${X11PLATFORM_SOURCES} xinputintegration.cpp) | ||
13 | endif() | 13 | endif() | ||
14 | 14 | | |||
15 | if(HAVE_EPOXY_GLX) | 15 | if(HAVE_EPOXY_GLX) | ||
16 | set(X11PLATFORM_SOURCES ${X11PLATFORM_SOURCES} glxbackend.cpp) | 16 | set(X11PLATFORM_SOURCES ${X11PLATFORM_SOURCES} glxbackend.cpp glx_context_attribute_builder.cpp) | ||
17 | endif() | 17 | endif() | ||
18 | 18 | | |||
19 | add_library(KWinX11Platform MODULE ${X11PLATFORM_SOURCES}) | 19 | add_library(KWinX11Platform MODULE ${X11PLATFORM_SOURCES}) | ||
20 | target_link_libraries(KWinX11Platform eglx11common kwin Qt5::X11Extras XCB::CURSOR) | 20 | target_link_libraries(KWinX11Platform eglx11common kwin Qt5::X11Extras XCB::CURSOR) | ||
21 | if(X11_Xinput_FOUND) | 21 | if(X11_Xinput_FOUND) | ||
22 | target_link_libraries(KWinX11Platform ${X11_Xinput_LIB}) | 22 | target_link_libraries(KWinX11Platform ${X11_Xinput_LIB}) | ||
23 | endif() | 23 | endif() | ||
24 | 24 | | |||
Show All 10 Lines |