Permalink
Browse files

Backport #764 (#942)

Backport #764 to 1.9-dev, to fix build on updated versions of VS 2017.
  • Loading branch information...
asherkin committed Dec 29, 2018
1 parent 793c603 commit ff935b4707c665d160812e67a33a4cfca72029a0
Showing with 1 addition and 3 deletions.
  1. +1 −3 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) + '"')

0 comments on commit ff935b4

Please sign in to comment.