Add VS Preview 2017 as valid compiler (msvc-1911) (#678)

This commit is contained in:
thewavelength 2018-01-28 12:39:23 +01:00 committed by Asher Baker
parent a8080c0bbb
commit 55b8371fa8

View File

@ -86,7 +86,7 @@ for sdk_name in SM.sdks:
vs_year = '2013' vs_year = '2013'
elif msvc_ver == 1900: elif msvc_ver == 1900:
vs_year = '2015' vs_year = '2015'
elif msvc_ver == 1910: elif msvc_ver in (1910, 1911):
vs_year = '2017' vs_year = '2017'
else: else:
raise Exception('Cannot find libprotobuf for MSVC version "' + str(compiler.version) + '"') raise Exception('Cannot find libprotobuf for MSVC version "' + str(compiler.version) + '"')