Skip to content

Commit

Permalink
[vcpkg] Ignore dependencies not found errors when downloading mode (m…
Browse files Browse the repository at this point in the history
  • Loading branch information
JackBoosY committed Jul 8, 2020
1 parent 088e616 commit 3de0ebe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vcpkg/build.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)};
}
Expand Down

0 comments on commit 3de0ebe

Please sign in to comment.