Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions src/vcpkg/commands.dependinfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -323,8 +323,12 @@ namespace vcpkg::Commands::DependInfo
// By passing an empty status_db, we should get a plan containing all dependencies.
// All actions in the plan should be install actions, as there's no installed packages to remove.
StatusParagraphs status_db;
auto action_plan =
Dependencies::create_feature_install_plan(provider, var_provider, specs, status_db, {host_triplet});
auto action_plan = Dependencies::create_feature_install_plan(
provider, var_provider, specs, status_db, {host_triplet, Dependencies::UnsupportedPortAction::Warn});
for (const auto& warning : action_plan.warnings)
{
print2(Color::warning, warning, '\n');
}
Checks::check_exit(
VCPKG_LINE_INFO, action_plan.remove_actions.empty(), "Only install actions should exist in the plan");
std::vector<const InstallPlanAction*> install_actions =
Expand Down