summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/client/shared/CMakeLists.txt15
1 files changed, 13 insertions, 2 deletions
diff --git a/tests/auto/client/shared/CMakeLists.txt b/tests/auto/client/shared/CMakeLists.txt
index 6116688c..2ce9c23a 100644
--- a/tests/auto/client/shared/CMakeLists.txt
+++ b/tests/auto/client/shared/CMakeLists.txt
@@ -2,6 +2,18 @@
##Client test shared components:
#####################################################################
+qt_manual_moc(moc_files
+ mockcompositor.h
+ coreprotocol.h
+ corecompositor.h
+ datadevice.h
+ fullscreenshellv1.h
+ iviapplication.h
+ textinput.h
+ xdgoutputv1.h
+ xdgshell.h
+)
+
add_library(SharedClientTest
OBJECT
corecompositor.cpp corecompositor.h
@@ -13,10 +25,9 @@ add_library(SharedClientTest
textinput.cpp textinput.h
xdgoutputv1.cpp xdgoutputv1.h
xdgshell.cpp xdgshell.h
+ ${moc_files}
)
-set_property(TARGET SharedClientTest PROPERTY AUTOMOC ON)
-
qt6_generate_wayland_protocol_server_sources(SharedClientTest
FILES
${PROJECT_SOURCE_DIR}/src/3rdparty/protocol/fullscreen-shell-unstable-v1.xml