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.pro6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/auto/auto.pro b/tests/auto/auto.pro
index 79ad29bd5..4ae3b4f65 100644
--- a/tests/auto/auto.pro
+++ b/tests/auto/auto.pro
@@ -2,6 +2,10 @@ TEMPLATE=subdirs
QT_FOR_CONFIG += waylandclient-private
qtConfig(wayland-client): \
- SUBDIRS += client cmake
+ SUBDIRS += client
+
+qtConfig(wayland-client):qtHaveModule(waylandcompositor): \
+ SUBDIRS += cmake
+
qtHaveModule(waylandcompositor): \
SUBDIRS += compositor