2220ae44c4
Each of the backends becomes a plugin. This allows kwin_wayland to load the requested plugin and kwin itself doesn't need to link all the libraries needed. E.g. libdrm is no longer linked if running kwin_x11. Also this allows to create backends for the non-standard EGL platforms (examples could be raspberrypi or Android devices).
16 lines
354 B
CMake
16 lines
354 B
CMake
set(FBDEV_SOURCES
|
|
fb_backend.cpp
|
|
logging.cpp
|
|
scene_qpainter_fb_backend.cpp
|
|
screens_fb.cpp
|
|
)
|
|
|
|
add_library(KWinWaylandFbdevBackend MODULE ${FBDEV_SOURCES})
|
|
target_link_libraries(KWinWaylandFbdevBackend kwin)
|
|
|
|
install(
|
|
TARGETS
|
|
KWinWaylandFbdevBackend
|
|
DESTINATION
|
|
${PLUGIN_INSTALL_DIR}/org.kde.kwin.waylandbackends/
|
|
)
|