From a4ae17284ee2b87917ff67a7108f781c09f57804 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Wed, 17 Jun 2020 13:11:34 -0700 Subject: [PATCH] Also check for msvc_version 14.2 --- wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wscript b/wscript index b28b55ed..2eea2600 100644 --- a/wscript +++ b/wscript @@ -79,7 +79,7 @@ def configure(conf): # Visual Studio 2017. However, waf is using "msvc 15.0" to designate # that version rather than "14.1" so we'll need to catch that case and # fix up the msvc_version accordingly. - if msvc_version == "14.1" and sys.version_info >= (3,7): + if msvc_version in ["14.1", "14.2"] and sys.version_info >= (3,7): ##msvc_version = '15.0' # On the other hand, microsoft says that v141 and v140 (Visual