[vcpkg] Ignore dependencies not found errors when downloading mode (#12323)

This commit is contained in:
Jack·Boos·Yu 2020-07-08 13:52:53 -07:00 committed by GitHub
parent eedecc033d
commit 0c95d75d08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -954,7 +954,7 @@ namespace vcpkg::Build
} }
} }
if (!missing_fspecs.empty()) if (!missing_fspecs.empty() && !Util::Enum::to_bool(action.build_options.only_downloads))
{ {
return {BuildResult::CASCADED_DUE_TO_MISSING_DEPENDENCIES, std::move(missing_fspecs)}; return {BuildResult::CASCADED_DUE_TO_MISSING_DEPENDENCIES, std::move(missing_fspecs)};
} }