kwin/plugins/platforms/fbdev/CMakeLists.txt
2021-01-29 11:34:52 +01:00

17 lines
534 B
CMake

set(FBDEV_SOURCES
fb_backend.cpp
fbvsyncmonitor.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 VsyncSupport)
install(
TARGETS
KWinWaylandFbdevBackend
DESTINATION
${KDE_INSTALL_PLUGINDIR}/org.kde.kwin.waylandbackends/
)