MSBuilder/MSVC: correct toolchain ver (#35424)
#35098 added the correct extraction of toolset version for the MSVC compiler. This updates the associated method in MSBuilder to retrieve the (now correct) property.
This commit is contained in:
parent
38c321abb3
commit
e1341d70ce
@ -77,7 +77,7 @@ def toolchain_version(self):
|
|||||||
Override this method to select a specific version of the toolchain or change
|
Override this method to select a specific version of the toolchain or change
|
||||||
selection heuristics.
|
selection heuristics.
|
||||||
Default is whatever version of msvc has been selected by concretization"""
|
Default is whatever version of msvc has been selected by concretization"""
|
||||||
return self.compiler.msvc_version
|
return "v" + self.pkg.compiler.platform_toolset_ver
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def std_msbuild_args(self):
|
def std_msbuild_args(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user