mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-08 08:09:42 -06:00
Merge topic 'vs-v142-version'
5117389931 VS: Fix support for v142 toolset minor versions
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3874
This commit is contained in:
@@ -390,7 +390,9 @@ std::string cmGlobalVisualStudioVersionedGenerator::GetAuxiliaryToolset() const
|
||||
GetVSInstance(instancePath);
|
||||
std::stringstream path;
|
||||
path << instancePath;
|
||||
path << "/VC/Auxiliary/Build/";
|
||||
path << "/VC/Auxiliary/Build";
|
||||
path << (cmSystemTools::VersionCompareGreaterEq(version, "14.20") ? '.'
|
||||
: '/');
|
||||
path << version;
|
||||
path << "/Microsoft.VCToolsVersion." << version << ".props";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user