From 55b8371fa83a38a0b7a831e1f1bad6b13d93da11 Mon Sep 17 00:00:00 2001 From: thewavelength Date: Sun, 28 Jan 2018 12:39:23 +0100 Subject: [PATCH] Add VS Preview 2017 as valid compiler (msvc-1911) (#678) --- core/AMBuilder | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/AMBuilder b/core/AMBuilder index 9da1f6cf..4258b0b0 100644 --- a/core/AMBuilder +++ b/core/AMBuilder @@ -1,4 +1,4 @@ -# vim: set sts=2 ts=8 sw=2 tw=99 et ft=python: +# vim: set sts=2 ts=8 sw=2 tw=99 et ft=python: import os project = SM.HL2Project(builder, 'sourcemod') @@ -86,7 +86,7 @@ for sdk_name in SM.sdks: vs_year = '2013' elif msvc_ver == 1900: vs_year = '2015' - elif msvc_ver == 1910: + elif msvc_ver in (1910, 1911): vs_year = '2017' else: raise Exception('Cannot find libprotobuf for MSVC version "' + str(compiler.version) + '"')