mirror of
https://github.com/cemu-project/vcpkg.git
synced 2025-02-24 19:43:33 +01:00
Improve error message
This commit is contained in:
parent
3b7b380798
commit
32ada00583
@ -58,7 +58,7 @@ namespace vcpkg { namespace Dependencies
|
|||||||
|
|
||||||
expected<SourceParagraph> maybe_spgh = try_load_port(paths, spec.name());
|
expected<SourceParagraph> maybe_spgh = try_load_port(paths, spec.name());
|
||||||
SourceParagraph* spgh = maybe_spgh.get();
|
SourceParagraph* spgh = maybe_spgh.get();
|
||||||
Checks::check_exit(spgh != nullptr, "Cannot find package");
|
Checks::check_exit(spgh != nullptr, "Cannot find package %s", spec.name());
|
||||||
process_dependencies(filter_dependencies(spgh->depends, spec.target_triplet()));
|
process_dependencies(filter_dependencies(spgh->depends, spec.target_triplet()));
|
||||||
was_examined.emplace(spec, install_plan_action{install_plan_type::BUILD_AND_INSTALL, nullptr, std::make_unique<SourceParagraph>(std::move(*spgh))});
|
was_examined.emplace(spec, install_plan_action{install_plan_type::BUILD_AND_INSTALL, nullptr, std::make_unique<SourceParagraph>(std::move(*spgh))});
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user