Skip to content

Commit

Permalink
Add Z_ to VCPKG_CHAINLOAD_TOOLCHAIN_FILE to workaround the regression…
Browse files Browse the repository at this point in the history
… caused by #350 (#379)
  • Loading branch information
BillyONeal authored Feb 24, 2022
1 parent 046600d commit 46569d4
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 @@ -765,7 +765,7 @@ namespace vcpkg::Build
{"_VCPKG_DOWNLOAD_TOOL", to_string(action.build_options.download_tool)},
{"_VCPKG_EDITABLE", Util::Enum::to_bool(action.build_options.editable) ? "1" : "0"},
{"_VCPKG_NO_DOWNLOADS", !Util::Enum::to_bool(action.build_options.allow_downloads) ? "1" : "0"},
{"VCPKG_CHAINLOAD_TOOLCHAIN_FILE", action.pre_build_info(VCPKG_LINE_INFO).toolchain_file()},
{"Z_VCPKG_CHAINLOAD_TOOLCHAIN_FILE", action.pre_build_info(VCPKG_LINE_INFO).toolchain_file()},
};

if (action.build_options.download_tool == DownloadTool::ARIA2)
Expand Down

0 comments on commit 46569d4

Please sign in to comment.