2017-08-10 16:13:42 +00:00
|
|
|
set(SCENE_XRENDER_SRCS scene_xrender.cpp)
|
|
|
|
|
|
|
|
include(ECMQtDeclareLoggingCategory)
|
|
|
|
ecm_qt_declare_logging_category(
|
|
|
|
SCENE_XRENDER_SRCS HEADER
|
|
|
|
logging.h
|
|
|
|
IDENTIFIER
|
|
|
|
KWIN_XRENDER
|
|
|
|
CATEGORY_NAME
|
|
|
|
kwin_scene_xrender
|
|
|
|
DEFAULT_SEVERITY
|
|
|
|
Critical
|
|
|
|
)
|
|
|
|
|
2020-12-05 15:54:19 +00:00
|
|
|
include_directories(${CMAKE_SOURCE_DIR}/platformsupport/scenes/xrender)
|
|
|
|
|
2017-08-10 16:13:42 +00:00
|
|
|
add_library(KWinSceneXRender MODULE ${SCENE_XRENDER_SRCS})
|
2017-08-25 16:18:20 +00:00
|
|
|
set_target_properties(KWinSceneXRender PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin/org.kde.kwin.scenes/")
|
2020-12-05 15:54:19 +00:00
|
|
|
target_link_libraries(KWinSceneXRender kwin kwinxrenderutils SceneXRenderBackend)
|
2017-08-10 16:13:42 +00:00
|
|
|
|
|
|
|
install(
|
|
|
|
TARGETS
|
|
|
|
KWinSceneXRender
|
|
|
|
DESTINATION
|
|
|
|
${PLUGIN_INSTALL_DIR}/org.kde.kwin.scenes/
|
|
|
|
)
|