summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/auto.pro11
1 files changed, 5 insertions, 6 deletions
diff --git a/tests/auto/auto.pro b/tests/auto/auto.pro
index 4ae3b4f65..d81339e86 100644
--- a/tests/auto/auto.pro
+++ b/tests/auto/auto.pro
@@ -1,11 +1,10 @@
TEMPLATE=subdirs
QT_FOR_CONFIG += waylandclient-private
-qtConfig(wayland-client): \
- SUBDIRS += client
+!qtHaveModule(waylandcompositor): \
+ return()
-qtConfig(wayland-client):qtHaveModule(waylandcompositor): \
- SUBDIRS += cmake
+SUBDIRS += compositor
-qtHaveModule(waylandcompositor): \
- SUBDIRS += compositor
+qtConfig(wayland-client): \
+ SUBDIRS += client cmake