mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-07 04:02:23 +03:00
VS: Fix detection of VS 2017 installation with WindowsStore
Fix logic in cmVSSetupAPIHelper::IsVS2017Installed to work correctly on repeat calls. Closes: #16549
This commit is contained in:
1 parent
3a97a3713a
commit
577f721fb7
1 file changed
+2
@@ -76,6 +76,8 @@ bool cmVSSetupAPIHelper::IsVS2017Installed()
|
||||
bool ret = false;
|
||||
if (chosenInstanceInfo.VSInstallLocation.compare(L"") == 0) {
|
||||
ret = EnumerateAndChooseVSInstance();
|
||||
} else {
|
||||
ret = true;
|
||||
}
|
||||
|
||||
return ret;
|
||||
|
||||
Reference in new issue
Block a user