mirror of
https://github.com/Z3Prover/z3
synced 2025-04-12 12:08:18 +00:00
Fixed VS 2017 platform toolset version in .vcxproj
This commit is contained in:
parent
284436aa5a
commit
46791047fa
|
@ -2959,7 +2959,11 @@ def get_platform_toolset_str():
|
||||||
if len(tokens) < 2:
|
if len(tokens) < 2:
|
||||||
return default
|
return default
|
||||||
else:
|
else:
|
||||||
return 'v' + tokens[0] + tokens[1]
|
if tokens[0] == "15":
|
||||||
|
# Visual Studio 2017 reports 15.* but the PlatformToolsetVersion is 141
|
||||||
|
return "v141"
|
||||||
|
else:
|
||||||
|
return 'v' + tokens[0] + tokens[1]
|
||||||
|
|
||||||
def mk_vs_proj_property_groups(f, name, target_ext, type):
|
def mk_vs_proj_property_groups(f, name, target_ext, type):
|
||||||
f.write(' <ItemGroup Label="ProjectConfigurations">\n')
|
f.write(' <ItemGroup Label="ProjectConfigurations">\n')
|
||||||
|
|
Loading…
Reference in a new issue