2015-10-02 08:44:29 +00:00
|
|
|
set(VIRTUAL_SOURCES
|
2015-10-08 14:12:09 +00:00
|
|
|
egl_gbm_backend.cpp
|
2015-10-02 08:44:29 +00:00
|
|
|
virtual_backend.cpp
|
|
|
|
scene_qpainter_virtual_backend.cpp
|
|
|
|
screens_virtual.cpp
|
|
|
|
)
|
|
|
|
|
2016-07-19 08:51:09 +00:00
|
|
|
include(ECMQtDeclareLoggingCategory)
|
|
|
|
ecm_qt_declare_logging_category(VIRTUAL_SOURCES HEADER logging.h IDENTIFIER KWIN_VIRTUAL CATEGORY_NAME kwin_platform_virtual DEFAULT_SEVERITY Critical)
|
|
|
|
|
2015-10-02 08:44:29 +00:00
|
|
|
add_library(KWinWaylandVirtualBackend MODULE ${VIRTUAL_SOURCES})
|
|
|
|
target_link_libraries(KWinWaylandVirtualBackend kwin)
|
|
|
|
|
2016-07-19 08:51:09 +00:00
|
|
|
if(HAVE_GBM)
|
|
|
|
target_link_libraries(KWinWaylandVirtualBackend gbm::gbm)
|
|
|
|
endif()
|
|
|
|
|
2015-10-02 08:44:29 +00:00
|
|
|
install(
|
|
|
|
TARGETS
|
|
|
|
KWinWaylandVirtualBackend
|
|
|
|
DESTINATION
|
|
|
|
${PLUGIN_INSTALL_DIR}/org.kde.kwin.waylandbackends/
|
|
|
|
)
|