pro2cmake: Always add a newline after func calls
Fixes the situation where we end up with e.g.: ``` target_link_libraries(... )target_link_libraries(... ) ``` Change-Id: I455563b24850db7f389746385af53cd606343274 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
parent
8fea3ec4e7
commit
772f5dbf1c
@ -1125,7 +1125,7 @@ def write_list(cm_fh: typing.IO[str], entries: typing.List[str],
|
||||
for s in sort_sources(entries):
|
||||
cm_fh.write('{}{}{}\n'.format(ind, extra_indent, s))
|
||||
if footer:
|
||||
cm_fh.write('{}{}'.format(ind, footer))
|
||||
cm_fh.write('{}{}\n'.format(ind, footer))
|
||||
|
||||
|
||||
def write_source_file_list(cm_fh: typing.IO[str], scope, cmake_parameter: str,
|
||||
|
Loading…
x
Reference in New Issue
Block a user