Fix formatting for test data
Add missing f parameter and globbing expression. Change-Id: I0eedb59e47537f9cf42a0b9d9471ddfc87ee48f2 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
This commit is contained in:
parent
7e91bd1f27
commit
cd88c30ce3
@ -2423,10 +2423,10 @@ def write_main_part(
|
||||
if "*" in data:
|
||||
cm_fh.write(
|
||||
dedent(
|
||||
"""
|
||||
f"""\
|
||||
{spaces(indent)}file(GLOB_RECURSE test_data_glob
|
||||
{spaces(indent+1)}RELATIVE ${{CMAKE_CURRENT_SOURCE_DIR}}
|
||||
{spaces(indent+1)}"{}")
|
||||
{spaces(indent+1)}{data})
|
||||
"""
|
||||
)
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user