From 22bf1087a13131ccdd2111232e5926fc10561ed6 Mon Sep 17 00:00:00 2001 From: Aleix Pol Date: Fri, 6 Nov 2020 18:28:06 +0100 Subject: [PATCH] Remove unnecessary SKIP_AUTOMOC call ecm_add_qtwayland_server_protocol() is already doing this. --- src/wayland/CMakeLists.txt | 66 -------------------------------------- 1 file changed, 66 deletions(-) diff --git a/src/wayland/CMakeLists.txt b/src/wayland/CMakeLists.txt index f0aab1e6b0..50c5e46ed3 100644 --- a/src/wayland/CMakeLists.txt +++ b/src/wayland/CMakeLists.txt @@ -269,72 +269,6 @@ ecm_add_qtwayland_server_protocol(SERVER_LIB_SRCS BASENAME input-method-unstable-v1 ) -set(SERVER_GENERATED_SRCS - ${CMAKE_CURRENT_BINARY_DIR}/wayland-blur-client-protocol.h - ${CMAKE_CURRENT_BINARY_DIR}/wayland-blur-server-protocol.h - ${CMAKE_CURRENT_BINARY_DIR}/wayland-contrast-client-protocol.h - ${CMAKE_CURRENT_BINARY_DIR}/wayland-contrast-server-protocol.h - ${CMAKE_CURRENT_BINARY_DIR}/wayland-dpms-client-protocol.h - ${CMAKE_CURRENT_BINARY_DIR}/wayland-dpms-server-protocol.h - ${CMAKE_CURRENT_BINARY_DIR}/wayland-eglstream-controller-server-protocol.h - ${CMAKE_CURRENT_BINARY_DIR}/wayland-fake-input-client-protocol.h - ${CMAKE_CURRENT_BINARY_DIR}/wayland-fake-input-server-protocol.h - ${CMAKE_CURRENT_BINARY_DIR}/wayland-idle-client-protocol.h - ${CMAKE_CURRENT_BINARY_DIR}/wayland-idle-inhibit-unstable-v1-client-protocol.h - ${CMAKE_CURRENT_BINARY_DIR}/wayland-idle-inhibit-unstable-v1-server-protocol.h - ${CMAKE_CURRENT_BINARY_DIR}/wayland-idle-server-protocol.h - ${CMAKE_CURRENT_BINARY_DIR}/wayland-linux-dmabuf-unstable-v1-server-protocol.h - ${CMAKE_CURRENT_BINARY_DIR}/wayland-org_kde_kwin_outputdevice-client-protocol.h - ${CMAKE_CURRENT_BINARY_DIR}/wayland-org_kde_kwin_outputdevice-server-protocol.h - ${CMAKE_CURRENT_BINARY_DIR}/wayland-output-management-client-protocol.h - ${CMAKE_CURRENT_BINARY_DIR}/wayland-output-management-server-protocol.h - ${CMAKE_CURRENT_BINARY_DIR}/wayland-output-unstable-v1-client-protocol.h - ${CMAKE_CURRENT_BINARY_DIR}/wayland-output-unstable-v1-client-protocol.h - ${CMAKE_CURRENT_BINARY_DIR}/wayland-output-unstable-v1-server-protocol.h - ${CMAKE_CURRENT_BINARY_DIR}/wayland-plasma-shell-client-protocol.h - ${CMAKE_CURRENT_BINARY_DIR}/wayland-plasma-shell-client-protocol.h - ${CMAKE_CURRENT_BINARY_DIR}/wayland-plasma-shell-server-protocol.h - ${CMAKE_CURRENT_BINARY_DIR}/wayland-plasma-virtual-desktop-client-protocol.h - ${CMAKE_CURRENT_BINARY_DIR}/wayland-plasma-virtual-desktop-server-protocol.h - ${CMAKE_CURRENT_BINARY_DIR}/wayland-plasma-window-management-client-protocol.h - ${CMAKE_CURRENT_BINARY_DIR}/wayland-plasma-window-management-server-protocol.h - ${CMAKE_CURRENT_BINARY_DIR}/wayland-pointer-constraints-unstable-v1-client-protocol.h - ${CMAKE_CURRENT_BINARY_DIR}/wayland-pointer-constraints-unstable-v1-server-protocol.h - ${CMAKE_CURRENT_BINARY_DIR}/wayland-pointer-gestures-unstable-v1-client-protocol.h - ${CMAKE_CURRENT_BINARY_DIR}/wayland-pointer-gestures-unstable-v1-server-protocol.h - ${CMAKE_CURRENT_BINARY_DIR}/wayland-qt-surface-extension-client-protocol.h - ${CMAKE_CURRENT_BINARY_DIR}/wayland-qt-surface-extension-server-protocol.h - ${CMAKE_CURRENT_BINARY_DIR}/wayland-relativepointer-unstable-v1-client-protocol.h - ${CMAKE_CURRENT_BINARY_DIR}/wayland-relativepointer-unstable-v1-server-protocol.h - ${CMAKE_CURRENT_BINARY_DIR}/wayland-server_decoration-client-protocol.h - ${CMAKE_CURRENT_BINARY_DIR}/wayland-server_decoration-server-protocol.h - ${CMAKE_CURRENT_BINARY_DIR}/wayland-server_decoration_palette-client-protocol.h - ${CMAKE_CURRENT_BINARY_DIR}/wayland-server_decoration_palette-server-protocol.h - ${CMAKE_CURRENT_BINARY_DIR}/wayland-shadow-client-protocol.h - ${CMAKE_CURRENT_BINARY_DIR}/wayland-shadow-server-protocol.h - ${CMAKE_CURRENT_BINARY_DIR}/wayland-slide-client-protocol.h - ${CMAKE_CURRENT_BINARY_DIR}/wayland-slide-server-protocol.h - ${CMAKE_CURRENT_BINARY_DIR}/wayland-text-client-protocol.h - ${CMAKE_CURRENT_BINARY_DIR}/wayland-text-input-unstable-v2-client-protocol.h - ${CMAKE_CURRENT_BINARY_DIR}/wayland-text-input-unstable-v2-server-protocol.h - ${CMAKE_CURRENT_BINARY_DIR}/wayland-text-input-unstable-v3-client-protocol.h - ${CMAKE_CURRENT_BINARY_DIR}/wayland-text-input-unstable-v3-server-protocol.h - ${CMAKE_CURRENT_BINARY_DIR}/wayland-text-server-protocol.h - ${CMAKE_CURRENT_BINARY_DIR}/wayland-xdg-decoration-client-protocol.h - ${CMAKE_CURRENT_BINARY_DIR}/wayland-xdg-decoration-server-protocol.h - ${CMAKE_CURRENT_BINARY_DIR}/wayland-xdg-foreign-unstable-v2-client-protocol.h - ${CMAKE_CURRENT_BINARY_DIR}/wayland-xdg-foreign-unstable-v2-server-protocol.h - ${CMAKE_CURRENT_BINARY_DIR}/wayland-xdg-shell-client-protocol.h - ${CMAKE_CURRENT_BINARY_DIR}/wayland-xdg-shell-server-protocol.h - ${CMAKE_CURRENT_BINARY_DIR}/qwayland-server-tablet-unstable-v2.h - ${CMAKE_CURRENT_BINARY_DIR}/qwayland-server-tablet-unstable-v2.cpp - ${CMAKE_CURRENT_BINARY_DIR}/qwayland-server-keyboard-shortcuts-inhibit-unstable-v1.h - ${CMAKE_CURRENT_BINARY_DIR}/qwayland-server-screencast-unstable-v1.h - ${CMAKE_CURRENT_BINARY_DIR}/qwayland-server-screencast-unstable-v1.cpp -) - -set_source_files_properties(${SERVER_GENERATED_SRCS} PROPERTIES SKIP_AUTOMOC ON) - add_library(KWaylandServer ${SERVER_LIB_SRCS}) add_library(Plasma::KWaylandServer ALIAS KWaylandServer) ecm_generate_export_header(KWaylandServer