From 92b67705b9825091decaa9896173e4f080195f3c Mon Sep 17 00:00:00 2001 From: tychovrahe Date: Fri, 22 Nov 2024 16:28:19 +0100 Subject: [PATCH] fixup! fix(core): fix cmakelists generation --- core/site_scons/tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/site_scons/tools.py b/core/site_scons/tools.py index 97a4b71cb1..728b0bccfb 100644 --- a/core/site_scons/tools.py +++ b/core/site_scons/tools.py @@ -53,7 +53,7 @@ def get_defs_for_cmake(defs: list[str | tuple[str, str]]) -> list[str]: for d in defs: if type(d) is tuple: val = d[1].replace('"', '\\"').replace("(", "\\(").replace(")", "\\)") - result.append(d[0] + '="' + val + '"') + result.append(f'{d[0]}="{val}"') else: result.append(d) return result