mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-19 05:30:41 +08:00
Remove check for empty MSVC dir.
This commit is contained in:
parent
127fbe2026
commit
612d204121
@ -117,8 +117,6 @@ namespace vcpkg::Environment
|
||||
return fs::is_directory(current);
|
||||
}, &msvc_subdirectories);
|
||||
|
||||
Checks::check_exit(!msvc_subdirectories.empty(), "No subdirectories were found in %s", msvc_path.generic_string());
|
||||
|
||||
// Sort them so that latest comes first
|
||||
std::sort(msvc_subdirectories.begin(), msvc_subdirectories.end(), [&](const fs::path& left, const fs::path& right)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user