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.
This commit is contained in:
parent
aebae46fe6
commit
63d2ab4ee6
2 changed files with 4 additions and 2 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue