Fix more uses of functions in handle_function_value
Change-Id: Ie6b6f79b50e9eaf605427f19a8c2ca86050e2f74 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io> Reviewed-by: Qt CMake Build Bot Reviewed-by: Leander Beernaert <leander.beernaert@qt.io>
This commit is contained in:
parent
0575f6b360
commit
02074bf345
@ -317,7 +317,8 @@ def handle_function_value(group: pp.ParseResults):
|
||||
return str(group)
|
||||
|
||||
# Return the whole expression as a string.
|
||||
if function_name in ['join', 'cmakeRelativePath', 'shell_quote', 'shadowed']:
|
||||
if function_name in ['join', 'cmakeRelativePath', 'shell_quote', 'shadowed', 'cmakeTargetPath',
|
||||
'shell_path']:
|
||||
return 'join({})'.format(''.join(function_args))
|
||||
|
||||
raise RuntimeError('No logic to handle function "{}", please add one in handle_function_value().'.format(function_name))
|
||||
|
Loading…
Reference in New Issue
Block a user