summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-05-19 17:23:37 -0400
committerBrad King <brad.king@kitware.com>2022-05-19 17:50:06 -0400
commit235b5fb05b8c5cb032dd2bc3713cd76b309290a9 (patch)
treea05796816b6ab486d73e55a9beba99af8b61fceb /Source
parentadcb98c51b0d09c6300c0a4b600e5085f8e1d17b (diff)
downloadcmake-235b5fb05b8c5cb032dd2bc3713cd76b309290a9.tar.gz
file(GET_RUNTIME_DEPENDENCIES): Support VS 2022 without VS 2019
Find MSVC tools in VS 2022 installation.
Diffstat (limited to 'Source')
-rw-r--r--Source/cmRuntimeDependencyArchive.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmRuntimeDependencyArchive.cxx b/Source/cmRuntimeDependencyArchive.cxx
index 26f255da01..4dfdfae4f9 100644
--- a/Source/cmRuntimeDependencyArchive.cxx
+++ b/Source/cmRuntimeDependencyArchive.cxx
@@ -236,6 +236,7 @@ bool cmRuntimeDependencyArchive::GetGetRuntimeDependenciesCommand(
cmGlobalGenerator* gg = this->GetMakefile()->GetGlobalGenerator();
// Add newer Visual Studio paths
+ AddVisualStudioPath(paths, "Visual Studio 17 ", 17, gg);
AddVisualStudioPath(paths, "Visual Studio 16 ", 16, gg);
AddVisualStudioPath(paths, "Visual Studio 15 ", 15, gg);