소스 검색

file(GET_RUNTIME_DEPENDENCIES): Support VS 2022 without VS 2019

Find MSVC tools in VS 2022 installation.
Brad King 3 년 전
부모
커밋
235b5fb05b
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      Source/cmRuntimeDependencyArchive.cxx

+ 1 - 0
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);