pro2cmake: Use get_files for STATECHARTS
...to get proper variable replacements. Change-Id: I533a6abfbc7721313840fd75125eeaa7b26f2eba Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
parent
5260c1d62a
commit
82c86856d1
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user