kwin/platformsupport/scenes/xrender/CMakeLists.txt
Vlad Zahorodnii d99e6b5d2a platforms/x11: Move XRenderBackend to platformsupport directory
This change moves the XRender backend to platformsupport directory,
similar to the OpenGL and the QPainter backend. This allows to put
platform-specific logic in XRenderBackend.
2020-12-08 08:50:19 +00:00

11 lines
355 B
CMake

set(xrenderbackend_SOURCES xrenderbackend.cpp)
ecm_qt_declare_logging_category(xrenderbackend_SOURCES
HEADER logging.h
IDENTIFIER KWIN_XRENDER
CATEGORY_NAME kwin_scene_xrender
DEFAULT_SEVERITY Critical
)
add_library(SceneXRenderBackend STATIC ${xrenderbackend_SOURCES})
target_link_libraries(SceneXRenderBackend kwin Qt5::Core Qt5::Gui)