From 15e928bfe0049b1764bf7f8fd8e1406d72e48efa Mon Sep 17 00:00:00 2001 From: Jose Date: Thu, 6 Jun 2019 19:53:47 +0200 Subject: Fix Windows.getCompiler to account for Visual Studio 2019 --- scripts/Util.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/Util.py b/scripts/Util.py index beb0ddc883a..a8ee573f020 100644 --- a/scripts/Util.py +++ b/scripts/Util.py @@ -398,8 +398,10 @@ class Windows(Platform): self.compiler = "v120" elif out.find("Version 19.00.") != -1: self.compiler = "v140" - elif out.find("Version 19.") != -1: + elif out.find("Version 19.1") != -1: self.compiler = "v141" + elif out.find("Version 19.2") != -1: + self.compiler = "v142" else: raise RuntimeError("Unknown compiler version:\n{0}".format(out)) except: -- cgit v1.2.3