[vcpkg] Ignore dependencies not found errors when downloading mode
MODIFY
src/vcpkg/build.cpp
src/vcpkg/build.cpp
@@ -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)};
}

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