environment: Handle cases of no cs compiler being installed correctly

pull/6587/head
Dylan Baker 5 years ago committed by Jussi Pakkanen
parent 1ea20a37d7
commit 7097d8a021
  1. 2
      mesonbuild/environment.py

@ -1336,6 +1336,8 @@ class Environment:
cls = MonoCompiler
elif "Visual C#" in out:
cls = VisualStudioCsCompiler
else:
continue
self.coredata.add_lang_args(cls.language, cls, for_machine, self)
return cls(comp, version, for_machine, info)

Loading…
Cancel
Save