c8ede9a5ff
Summary: This brings KWin a step closer to be run from build dir without having to install at all. The integration tests are adjusted so that the virtual platform is still found which makes the code be closer to what is used in normal kwin_wayland. Test Plan: ctest passes, manually verified correct plugin is loaded Reviewers: #kwin Subscribers: kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D17388
16 lines
495 B
CMake
16 lines
495 B
CMake
set(FBDEV_SOURCES
|
|
fb_backend.cpp
|
|
logging.cpp
|
|
scene_qpainter_fb_backend.cpp
|
|
)
|
|
|
|
add_library(KWinWaylandFbdevBackend MODULE ${FBDEV_SOURCES})
|
|
set_target_properties(KWinWaylandFbdevBackend PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin/org.kde.kwin.waylandbackends/")
|
|
target_link_libraries(KWinWaylandFbdevBackend kwin SceneQPainterBackend)
|
|
|
|
install(
|
|
TARGETS
|
|
KWinWaylandFbdevBackend
|
|
DESTINATION
|
|
${PLUGIN_INSTALL_DIR}/org.kde.kwin.waylandbackends/
|
|
)
|