mirror of
https://github.com/Z3Prover/z3
synced 2025-04-13 04:28:17 +00:00
Fixed VS 2017 platform toolset version in .vcxproj
This commit is contained in:
parent
284436aa5a
commit
46791047fa
|
@ -2958,6 +2958,10 @@ def get_platform_toolset_str():
|
|||
tokens = lline.split('.')
|
||||
if len(tokens) < 2:
|
||||
return default
|
||||
else:
|
||||
if tokens[0] == "15":
|
||||
# Visual Studio 2017 reports 15.* but the PlatformToolsetVersion is 141
|
||||
return "v141"
|
||||
else:
|
||||
return 'v' + tokens[0] + tokens[1]
|
||||
|
||||
|
|
Loading…
Reference in a new issue