diff --git a/src/wayland/CMakeLists.txt b/src/wayland/CMakeLists.txt index 066d564507..ab21e99e5b 100644 --- a/src/wayland/CMakeLists.txt +++ b/src/wayland/CMakeLists.txt @@ -9,7 +9,14 @@ set(SERVER_LIB_SRCS ) add_library(KF5WaylandServer ${SERVER_LIB_SRCS}) -generate_export_header(KF5WaylandServer BASE_NAME KWaylandServer) +generate_export_header(KF5WaylandServer + BASE_NAME + KWaylandServer + EXPORT_FILE_NAME + KWayland/Server/kwaylandserver_export.h +) + + add_library(KF5::WaylandServer ALIAS KF5WaylandServer) target_include_directories(KF5WaylandServer INTERFACE "$") @@ -33,7 +40,7 @@ set_target_properties(KF5WaylandServer PROPERTIES VERSION ${KWAYLAND_VERSION_S # install(TARGETS KF5WaylandServer EXPORT KF5WaylandTargets ${KF5_INSTALL_TARGETS_DEFAULT_ARGS}) # # install(FILES -# ${CMAKE_CURRENT_BINARY_DIR}/kwaylandserver_export.h +# ${CMAKE_CURRENT_BINARY_DIR}/KWayland/Server/kwaylandserver_export.h # buffer_interface.h # compositor_interface.h # display.h diff --git a/src/wayland/compositor_interface.h b/src/wayland/compositor_interface.h index 60ea01a59c..7e6b2384a6 100644 --- a/src/wayland/compositor_interface.h +++ b/src/wayland/compositor_interface.h @@ -24,7 +24,7 @@ License along with this library. If not, see . #include -#include +#include namespace KWayland { diff --git a/src/wayland/display.h b/src/wayland/display.h index 31cb24fc46..a47ece87eb 100644 --- a/src/wayland/display.h +++ b/src/wayland/display.h @@ -23,7 +23,7 @@ License along with this library. If not, see . #include #include -#include +#include struct wl_display; struct wl_event_loop; diff --git a/src/wayland/output_interface.h b/src/wayland/output_interface.h index eba9a32e51..f5acdc56c2 100644 --- a/src/wayland/output_interface.h +++ b/src/wayland/output_interface.h @@ -24,7 +24,7 @@ License along with this library. If not, see . #include #include -#include +#include struct wl_global; struct wl_client; diff --git a/src/wayland/seat_interface.h b/src/wayland/seat_interface.h index 18d2dba385..5e98ce4c44 100644 --- a/src/wayland/seat_interface.h +++ b/src/wayland/seat_interface.h @@ -23,7 +23,7 @@ License along with this library. If not, see . #include #include -#include +#include struct wl_client; struct wl_resource; diff --git a/src/wayland/server/buffer_interface.h b/src/wayland/server/buffer_interface.h index 9cf84c5f3b..9b507ca4d8 100644 --- a/src/wayland/server/buffer_interface.h +++ b/src/wayland/server/buffer_interface.h @@ -23,7 +23,7 @@ License along with this library. If not, see . #include #include -#include +#include struct wl_resource; struct wl_shm_buffer; diff --git a/src/wayland/server/shell_interface.h b/src/wayland/server/shell_interface.h index 31f84044c7..8af6dc27a6 100644 --- a/src/wayland/server/shell_interface.h +++ b/src/wayland/server/shell_interface.h @@ -22,7 +22,7 @@ License along with this library. If not, see . #include -#include +#include class QSize; struct wl_resource; diff --git a/src/wayland/surface_interface.h b/src/wayland/surface_interface.h index 31e0e75e3d..c98cc93f8f 100644 --- a/src/wayland/surface_interface.h +++ b/src/wayland/surface_interface.h @@ -25,7 +25,7 @@ License along with this library. If not, see . #include #include -#include +#include namespace KWayland {