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) target_include_directories(SceneXRenderBackend PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})