diff --git a/src/vcpkg/commands.dependinfo.cpp b/src/vcpkg/commands.dependinfo.cpp index addba6144b..7c52e86b8a 100644 --- a/src/vcpkg/commands.dependinfo.cpp +++ b/src/vcpkg/commands.dependinfo.cpp @@ -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 install_actions =