aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/commands_env.cpp
diff options
context:
space:
mode:
authorAlbert Ziegenhagel <albert.ziegenhagel@outlook.com>2017-06-02 18:13:12 +0200
committerAlbert Ziegenhagel <albert.ziegenhagel@outlook.com>2017-06-02 18:13:12 +0200
commit1253b875195590e528d8a28e12a798264603ba43 (patch)
tree1437afe08ae54110f42c442bcb0d8a487cd01367 /toolsrc/src/commands_env.cpp
parent3ebcdd384b58ff5d5f92996a6eb2e9fed0be1710 (diff)
downloadvcpkg-1253b875195590e528d8a28e12a798264603ba43.tar.gz
vcpkg-1253b875195590e528d8a28e12a798264603ba43.zip
Implement support to request a specific toolset version via the variable `VCPKG_PLATFORM_TOOLSET` in the triplet file
Diffstat (limited to 'toolsrc/src/commands_env.cpp')
-rw-r--r--toolsrc/src/commands_env.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolsrc/src/commands_env.cpp b/toolsrc/src/commands_env.cpp
index 5e1ecc5e7..dd7172b89 100644
--- a/toolsrc/src/commands_env.cpp
+++ b/toolsrc/src/commands_env.cpp
@@ -13,7 +13,7 @@ namespace vcpkg::Commands::Env
args.check_and_get_optional_command_arguments({});
auto pre_build_info = Build::PreBuildInfo::from_triplet_file(paths, default_triplet);
- System::cmd_execute_clean(Build::make_build_env_cmd(pre_build_info, paths.get_toolset()) + L" && cmd");
+ System::cmd_execute_clean(Build::make_build_env_cmd(pre_build_info, paths.get_toolset(pre_build_info.platform_toolset)) + L" && cmd");
Checks::exit_success(VCPKG_LINE_INFO);
}