From ff935b4707c665d160812e67a33a4cfca72029a0 Mon Sep 17 00:00:00 2001 From: Asher Baker Date: Sat, 29 Dec 2018 15:43:59 +0000 Subject: [PATCH] Backport #764 (#942) Backport #764 to 1.9-dev, to fix build on updated versions of VS 2017. --- core/AMBuilder | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/core/AMBuilder b/core/AMBuilder index ed20ed04..0f5602b2 100644 --- a/core/AMBuilder +++ b/core/AMBuilder @@ -77,10 +77,8 @@ for sdk_name in SM.sdks: vs_year = '' if msvc_ver == 1800: vs_year = '2013' - elif msvc_ver == 1900: + elif 1900 <= msvc_ver < 2000: vs_year = '2015' - elif msvc_ver == 1910: - vs_year = '2017' else: raise Exception('Cannot find libprotobuf for MSVC version "' + str(compiler.version) + '"')