diff --git a/src/wayland/CMakeLists.txt b/src/wayland/CMakeLists.txt index 0f99682068..6f9d4a9fdd 100644 --- a/src/wayland/CMakeLists.txt +++ b/src/wayland/CMakeLists.txt @@ -345,9 +345,10 @@ ecm_generate_export_header(KWaylandServer target_include_directories(KWaylandServer INTERFACE "$") target_link_libraries(KWaylandServer - PUBLIC Qt5::Gui - PRIVATE + PUBLIC + Qt5::Gui Wayland::Server + PRIVATE EGL::EGL Qt5::Concurrent ) diff --git a/src/wayland/server/screencast_interface.h b/src/wayland/server/screencast_interface.h index 439f2ec1f2..79730d16ef 100644 --- a/src/wayland/server/screencast_interface.h +++ b/src/wayland/server/screencast_interface.h @@ -12,6 +12,7 @@ #include #include #include +#include struct wl_resource;