mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-29 02:48:18 +00:00
fixup! fix(core): fix cmakelists generation
This commit is contained in:
parent
f85c0b2061
commit
92b67705b9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user