summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--qt.pro8
1 files changed, 6 insertions, 2 deletions
diff --git a/qt.pro b/qt.pro
index 3baaf6a5..33a9469e 100644
--- a/qt.pro
+++ b/qt.pro
@@ -27,8 +27,12 @@ defineTest(addModule) {
export($${mod}.makefile)
}
- for(d, 2): \
- $${mod}.depends += $$moduleName($$d)
+ for(d, 2) {
+ dn = $$moduleName($$d)
+ !contains(SUBDIRS, $$dn): \
+ return(false)
+ $${mod}.depends += $$dn
+ }
for(d, 3) {
dn = $$moduleName($$d)
contains(SUBDIRS, $$dn): \