From c3ef1a012b377b1cda1ade7de2db7785badfff53 Mon Sep 17 00:00:00 2001 From: Alexandru Croitor Date: Wed, 28 Aug 2019 12:57:12 +0200 Subject: [PATCH] Fix handling of more functions in handle_function_value Essentially pass them through without failing the whole conversion process. Change-Id: I7bbd198203f79b45120a7254e2ecdf58e32f9525 Reviewed-by: Simon Hausmann --- util/cmake/pro2cmake.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/util/cmake/pro2cmake.py b/util/cmake/pro2cmake.py index 2e80ef12fee..db7dfa97470 100755 --- a/util/cmake/pro2cmake.py +++ b/util/cmake/pro2cmake.py @@ -318,7 +318,8 @@ def handle_function_value(group: pp.ParseResults): # Return the whole expression as a string. if function_name in ['join', 'cmakeRelativePath', 'shell_quote', 'shadowed', 'cmakeTargetPath', - 'shell_path']: + 'shell_path', 'cmakeProcessLibs', 'cmakeTargetPaths', + 'cmakePortablePaths', 'escape_expand']: return 'join({})'.format(''.join(function_args)) raise RuntimeError('No logic to handle function "{}", please add one in handle_function_value().'.format(function_name))