diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2020-02-03 14:25:37 -0800 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2020-02-04 20:47:49 +0200 |
commit | 7097d8a021a2fddb42b9b8e0e1111c6cb6f3ff8f (patch) | |
tree | 377c5b46bfc34d113b49bd2eda9b3585b661b054 /mesonbuild/environment.py | |
parent | 1ea20a37d7d7041d045dfa46eebb22108569bb48 (diff) | |
download | meson-7097d8a021a2fddb42b9b8e0e1111c6cb6f3ff8f.zip meson-7097d8a021a2fddb42b9b8e0e1111c6cb6f3ff8f.tar.gz meson-7097d8a021a2fddb42b9b8e0e1111c6cb6f3ff8f.tar.bz2 |
environment: Handle cases of no cs compiler being installed correctly
Diffstat (limited to 'mesonbuild/environment.py')
-rw-r--r-- | mesonbuild/environment.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py index 21d33a5..beaff76 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) |