summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2019-10-04 14:04:10 +0200
committerJoerg Bornemann <joerg.bornemann@qt.io>2019-10-08 15:48:30 +0000
commit82c86856d1fefac5badf91d77a4f81a068fd5060 (patch)
tree0c2c110990ca08127dbf6be72f63d3a0d7dbecbc /util
parent5260c1d62a43538f6d1552e0cc409216c89786bd (diff)
pro2cmake: Use get_files for STATECHARTS
...to get proper variable replacements. Change-Id: I533a6abfbc7721313840fd75125eeaa7b26f2eba Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'util')
-rwxr-xr-xutil/cmake/pro2cmake.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/cmake/pro2cmake.py b/util/cmake/pro2cmake.py
index 0db814d982..4c3c474811 100755
--- a/util/cmake/pro2cmake.py
+++ b/util/cmake/pro2cmake.py
@@ -2283,7 +2283,7 @@ def write_resources(cm_fh: IO[str], target: str, scope: Scope, indent: int = 0,
def write_statecharts(cm_fh: IO[str], target: str, scope: Scope, indent: int = 0, is_example=False):
- sources = scope.get("STATECHARTS")
+ sources = scope.get_files("STATECHARTS", use_vpath=True)
if not sources:
return
cm_fh.write("\n# Statecharts:\n")