mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-26 16:28:11 +00:00
Prevent overwriting target generator with default argument value.
This commit is contained in:
parent
dc1a6d76b7
commit
4937f87b1c
1 changed files with 2 additions and 1 deletions
|
|
@ -180,7 +180,6 @@ def main(argv=None):
|
|||
|
||||
args, additional_args = argparser.parse_known_args()
|
||||
|
||||
additional_args += ["-G", args.generator]
|
||||
additional_args += ["-DLINPHONE_BUILDER_GROUP_EXTERNAL_SOURCE_PATH_BUILDERS=YES"]
|
||||
|
||||
if args.only_submodules:
|
||||
|
|
@ -227,6 +226,8 @@ def main(argv=None):
|
|||
target = PythonRaspberryTarget()
|
||||
else:
|
||||
target = DesktopTarget()
|
||||
if target.generator is None:
|
||||
additional_args += ["-G", args.generator]
|
||||
if args.clean or args.veryclean:
|
||||
if args.veryclean:
|
||||
target.veryclean()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue