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 | ) | 8 | ) | ||
9 | 9 | | |||
10 | if(X11_Xinput_FOUND) | 10 | if(X11_Xinput_FOUND) | ||
11 | set(X11PLATFORM_SOURCES ${X11PLATFORM_SOURCES} xinputintegration.cpp) | 11 | set(X11PLATFORM_SOURCES ${X11PLATFORM_SOURCES} xinputintegration.cpp) | ||
12 | endif() | 12 | endif() | ||
13 | 13 | | |||
14 | if(HAVE_EPOXY_GLX) | 14 | if(HAVE_EPOXY_GLX) | ||
15 | set(X11PLATFORM_SOURCES ${X11PLATFORM_SOURCES} glxbackend.cpp) | 15 | set(X11PLATFORM_SOURCES ${X11PLATFORM_SOURCES} glxbackend.cpp glx_context_attribute_builder.cpp) | ||
16 | endif() | 16 | endif() | ||
17 | 17 | | |||
18 | add_library(KWinX11Platform MODULE ${X11PLATFORM_SOURCES}) | 18 | add_library(KWinX11Platform MODULE ${X11PLATFORM_SOURCES}) | ||
19 | target_link_libraries(KWinX11Platform eglx11common kwin Qt5::X11Extras XCB::CURSOR) | 19 | target_link_libraries(KWinX11Platform eglx11common kwin Qt5::X11Extras XCB::CURSOR) | ||
20 | if(X11_Xinput_FOUND) | 20 | if(X11_Xinput_FOUND) | ||
21 | target_link_libraries(KWinX11Platform ${X11_Xinput_LIB}) | 21 | target_link_libraries(KWinX11Platform ${X11_Xinput_LIB}) | ||
22 | endif() | 22 | endif() | ||
23 | 23 | | |||
Show All 10 Lines |