Commit 63d2ab4e authored by David Edmundson's avatar David Edmundson
Browse files

Link Wayland::Server as an external dependency

Raw wl_ objects are used throughout the public headers repeatedly.

Exporting the linked library helps clients (kwin) build cleanly.
parent aebae46f
......@@ -345,9 +345,10 @@ ecm_generate_export_header(KWaylandServer
target_include_directories(KWaylandServer INTERFACE "$<INSTALL_INTERFACE:${KDE_INSTALL_INCLUDEDIR}>")
target_link_libraries(KWaylandServer
PUBLIC Qt5::Gui
PRIVATE
PUBLIC
Qt5::Gui
Wayland::Server
PRIVATE
EGL::EGL
Qt5::Concurrent
)
......
......@@ -12,6 +12,7 @@
#include <QSharedPointer>
#include <functional>
#include <KWaylandServer/kwaylandserver_export.h>
#include <wayland-server.h>
struct wl_resource;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment