Fix build of the layer-shell plugin
It's missing a dependency on Wayland::Client. Also, it uses LayerShellQtInterface, which is only defined later, move it.
This commit is contained in:
parent
81e2bf553c
commit
4a3d27d0be
|
@ -3,9 +3,6 @@ remove_definitions(-DQT_NO_SIGNALS_SLOTS_KEYWORDS)
|
||||||
ecm_add_qtwayland_client_protocol(LAYER_SHELL_SOURCES PROTOCOL ${WaylandProtocols_DATADIR}/stable/xdg-shell/xdg-shell.xml BASENAME xdg-shell)
|
ecm_add_qtwayland_client_protocol(LAYER_SHELL_SOURCES PROTOCOL ${WaylandProtocols_DATADIR}/stable/xdg-shell/xdg-shell.xml BASENAME xdg-shell)
|
||||||
ecm_add_qtwayland_client_protocol(LAYER_SHELL_SOURCES PROTOCOL wlr-layer-shell-unstable-v1.xml BASENAME wlr-layer-shell-unstable-v1)
|
ecm_add_qtwayland_client_protocol(LAYER_SHELL_SOURCES PROTOCOL wlr-layer-shell-unstable-v1.xml BASENAME wlr-layer-shell-unstable-v1)
|
||||||
|
|
||||||
add_library(layer-shell SHARED qwaylandlayershellintegrationplugin.cpp)
|
|
||||||
target_link_libraries(layer-shell LayerShellQtInterface Qt5::WaylandClient Qt::WaylandClientPrivate Qt5::XkbCommonSupportPrivate)
|
|
||||||
|
|
||||||
ecm_qt_declare_logging_category(LAYER_SHELL_SOURCES
|
ecm_qt_declare_logging_category(LAYER_SHELL_SOURCES
|
||||||
HEADER
|
HEADER
|
||||||
layershellqt_logging.h
|
layershellqt_logging.h
|
||||||
|
@ -26,6 +23,9 @@ set_target_properties(LayerShellQtInterface PROPERTIES VERSION ${LAYERSHELLQT_
|
||||||
EXPORT_NAME Interface
|
EXPORT_NAME Interface
|
||||||
)
|
)
|
||||||
|
|
||||||
|
add_library(layer-shell SHARED qwaylandlayershellintegrationplugin.cpp)
|
||||||
|
target_link_libraries(layer-shell LayerShellQtInterface Qt5::WaylandClient Qt::WaylandClientPrivate Qt5::XkbCommonSupportPrivate Wayland::Client)
|
||||||
|
|
||||||
ecm_generate_headers(LayerShellQt_HEADERS
|
ecm_generate_headers(LayerShellQt_HEADERS
|
||||||
HEADER_NAMES
|
HEADER_NAMES
|
||||||
Shell
|
Shell
|
||||||
|
|
Loading…
Reference in a new issue