mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-28 16:51:38 +08:00
[aria2] Use --x-use-aria2 instead of --use-aria2 for now
This commit is contained in:
parent
8754105991
commit
7849f5da1e
@ -412,7 +412,7 @@ namespace vcpkg::Install
|
||||
static constexpr StringLiteral OPTION_RECURSE = "--recurse";
|
||||
static constexpr StringLiteral OPTION_KEEP_GOING = "--keep-going";
|
||||
static constexpr StringLiteral OPTION_XUNIT = "--x-xunit";
|
||||
static constexpr StringLiteral OPTION_USE_ARIA2 = "--use-aria2";
|
||||
static constexpr StringLiteral OPTION_USE_ARIA2 = "--x-use-aria2";
|
||||
|
||||
static constexpr std::array<CommandSwitch, 6> INSTALL_SWITCHES = {{
|
||||
{OPTION_DRY_RUN, "Do not actually build or install"},
|
||||
@ -556,8 +556,7 @@ namespace vcpkg::Install
|
||||
StatusParagraphs status_db = database_load_check(paths);
|
||||
|
||||
Build::DownloadTool download_tool = Build::DownloadTool::BUILT_IN;
|
||||
if (use_aria2)
|
||||
download_tool = Build::DownloadTool::ARIA2;
|
||||
if (use_aria2) download_tool = Build::DownloadTool::ARIA2;
|
||||
|
||||
const Build::BuildPackageOptions install_plan_options = {
|
||||
Util::Enum::to_enum<Build::UseHeadVersion>(use_head_version),
|
||||
|
Loading…
Reference in New Issue
Block a user