mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03:00
file(GET_RUNTIME_DEPENDENCIES): Support VS 2026 without VS 2022
Find MSVC tools in VS 2026 installation. This was missed in commit3392b371(VS: Add Visual Studio 18 2026 generator, 2025-08-20, v4.2.0-rc1~165^2~1). Follow the pattern from commit235b5fb05b(file(GET_RUNTIME_DEPENDENCIES): Support VS 2022 without VS 2019, 2022-05-19, v3.21.7~3^2). Fixes: #27511
This commit is contained in:
committed by
Brad King
parent
048f2924bf
commit
f51dd918b2
@@ -236,6 +236,7 @@ bool cmRuntimeDependencyArchive::GetGetRuntimeDependenciesCommand(
|
||||
cmGlobalGenerator* gg = this->GetMakefile()->GetGlobalGenerator();
|
||||
|
||||
// Add newer Visual Studio paths
|
||||
AddVisualStudioPath(paths, "Visual Studio 18 ", 18, gg);
|
||||
AddVisualStudioPath(paths, "Visual Studio 17 ", 17, gg);
|
||||
AddVisualStudioPath(paths, "Visual Studio 16 ", 16, gg);
|
||||
AddVisualStudioPath(paths, "Visual Studio 15 ", 15, gg);
|
||||
|
||||
Reference in New Issue
Block a user