not all dependencies have a compile_args attribute
This commit is contained in:
parent
e366631e9e
commit
baa639031b
|
@ -444,7 +444,10 @@ class Vs2010Backend(backends.Backend):
|
|||
# here.
|
||||
general_args += compiler.get_option_compile_args(self.environment.coredata.compiler_options)
|
||||
for d in target.get_external_deps():
|
||||
try:
|
||||
general_args += d.compile_args
|
||||
except AttributeError:
|
||||
pass
|
||||
|
||||
languages += gen_langs
|
||||
has_language_specific_args = any(l != extra_args['c'] for l in extra_args.values())
|
||||
|
|
Loading…
Reference in New Issue