mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-10 14:41:43 +00:00
aedi: fix conversion of options to string
This commit is contained in:
parent
419a8d746c
commit
8b2ca77ba2
1 changed files with 2 additions and 1 deletions
|
@ -39,7 +39,8 @@ class CommandLineOptions(dict):
|
|||
|
||||
for arg_name, arg_value in self.items():
|
||||
if rules == CommandLineOptions.MAKE_RULES:
|
||||
option = arg_name + ('=' + arg_value if arg_value else '')
|
||||
arg_value = f'={arg_value}' if arg_value else ''
|
||||
option = arg_name + arg_value
|
||||
elif rules == CommandLineOptions.CMAKE_RULES:
|
||||
arg_value = arg_value if arg_value else ''
|
||||
option = f'-D{arg_name}={arg_value}'
|
||||
|
|
Loading…
Reference in a new issue