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.pro11
1 files changed, 6 insertions, 5 deletions
diff --git a/tests/auto/auto.pro b/tests/auto/auto.pro
index d81339e86..032ae47a4 100644
--- a/tests/auto/auto.pro
+++ b/tests/auto/auto.pro
@@ -1,10 +1,11 @@
TEMPLATE=subdirs
QT_FOR_CONFIG += waylandclient-private
-!qtHaveModule(waylandcompositor): \
- return()
+qtHaveModule(waylandclient): \
+ SUBDIRS += client
-SUBDIRS += compositor
+qtHaveModule(waylandclient):qtHaveModule(waylandcompositor): \
+ SUBDIRS += cmake
-qtConfig(wayland-client): \
- SUBDIRS += client cmake
+qtHaveModule(waylandcompositor): \
+ SUBDIRS += compositor