summaryrefslogtreecommitdiff
path: root/qbs/modules/pluginjson
diff options
context:
space:
mode:
Diffstat (limited to 'qbs/modules/pluginjson')
-rw-r--r--qbs/modules/pluginjson/pluginjson.qbs5
1 files changed, 3 insertions, 2 deletions
diff --git a/qbs/modules/pluginjson/pluginjson.qbs b/qbs/modules/pluginjson/pluginjson.qbs
index f684dbccb4..eccd53c85b 100644
--- a/qbs/modules/pluginjson/pluginjson.qbs
+++ b/qbs/modules/pluginjson/pluginjson.qbs
@@ -10,9 +10,10 @@ Module {
// TODO: Wrap the VCS specific stuff in a dedicated module
property bool hasVcs: Utilities.versionCompare(qbs.version, "1.10") >= 0
- Depends { name: "vcs"; condition: hasVcs }
+ property bool useVcsData: hasVcs
+ Depends { name: "vcs"; condition: useVcsData }
Properties {
- condition: hasVcs
+ condition: useVcsData
vcs.headerFileName: undefined
vcs.repoDir: {
// TODO: Could something like this be incorporated into the vcs module?