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