From 7097d8a021a2fddb42b9b8e0e1111c6cb6f3ff8f Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Mon, 3 Feb 2020 14:25:37 -0800 Subject: environment: Handle cases of no cs compiler being installed correctly --- mesonbuild/environment.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py index 21d33a5fd..beaff767c 100644 --- a/mesonbuild/environment.py +++ b/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) -- cgit v1.2.3