vcpkg/ports/serf/hardcoded-msvc-versions.diff

29 lines
1.1 KiB
Diff

diff --git a/SConstruct b/SConstruct
index 8b53af6..f99f5f7 100644
--- a/SConstruct
+++ b/SConstruct
@@ -137,21 +137,8 @@ if sys.platform == 'win32':
'X64' : 'x86_64'
}),
- EnumVariable('MSVC_VERSION',
- "Visual C++ to use for building",
- None,
- allowed_values=('14.3', '14.2', '14.1', '14.0', '12.0',
- '11.0', '10.0', '9.0', '8.0', '6.0'),
- map={'2005' : '8.0',
- '2008' : '9.0',
- '2010' : '10.0',
- '2012' : '11.0',
- '2013' : '12.0',
- '2015' : '14.0',
- '2017' : '14.1',
- '2019' : '14.2',
- '2022' : '14.3',
- }),
+ ('MSVC_VERSION', "Visual C++ to use for building (see " +
+ "https://scons.org/doc/latest/HTML/scons-user.html#cv-MSVC_VERSION)", None),
# We always documented that we handle an install layout, but in fact we
# hardcoded source layouts. Allow disabling this behavior.