mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-04 13:19:51 -05:00
Merge topic 'vs-instance'
e801d2b243 VS: Make CMAKE_GENERATOR_INSTANCE usable without VS Installer
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9794
This commit is contained in:
@@ -450,7 +450,8 @@ bool cmVSSetupAPIHelper::EnumerateAndChooseVSInstance()
|
||||
|
||||
// Enumerate VS instances with either COM interface or Vswhere
|
||||
if (!EnumerateVSInstancesWithCOM(vecVSInstancesAll) &&
|
||||
!EnumerateVSInstancesWithVswhere(vecVSInstancesAll)) {
|
||||
!EnumerateVSInstancesWithVswhere(vecVSInstancesAll) &&
|
||||
this->SpecifiedVSInstallLocation.empty()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user