From ec39e1e4063ca4e193d2ec59fdba07f40ab88654 Mon Sep 17 00:00:00 2001 From: Jason Erickson Date: Wed, 28 Oct 2020 12:50:57 -0600 Subject: [PATCH] Add VC 2019 path location --- scripts/appveyor.py | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/scripts/appveyor.py b/scripts/appveyor.py index 06f07445..36ee26a9 100755 --- a/scripts/appveyor.py +++ b/scripts/appveyor.py @@ -763,10 +763,16 @@ class Options: """ The path of the Visual C compiler. """ - return Path( - r"C:\Program Files (x86)\Microsoft Visual Studio %s\VC" - % self.vs_ver - ) + if self.vs_ver == '16.0': + path = Path( + r"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build" + ) + else: + path = Path( + r"C:\Program Files (x86)\Microsoft Visual Studio %s\VC" + % self.vs_ver + ) + return path @property def vs_ver(self):