aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/commands_installation.cpp
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2016-10-03 17:20:52 -0700
committerAlexander Karatarakis <alkarata@microsoft.com>2016-10-03 17:20:52 -0700
commit330b411cd2f4aa25632b2ae5ea2fef396fb13d12 (patch)
treec7aa03d21ebb2ad58241f3f412fd13bdb34d8397 /toolsrc/src/commands_installation.cpp
parente03e617f069471c34e90b1a84e256c1607252f04 (diff)
downloadvcpkg-330b411cd2f4aa25632b2ae5ea2fef396fb13d12.tar.gz
vcpkg-330b411cd2f4aa25632b2ae5ea2fef396fb13d12.zip
[triplet] Force using the factory that does sanity checks
Diffstat (limited to 'toolsrc/src/commands_installation.cpp')
-rw-r--r--toolsrc/src/commands_installation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolsrc/src/commands_installation.cpp b/toolsrc/src/commands_installation.cpp
index d6590fd0d..521d4df71 100644
--- a/toolsrc/src/commands_installation.cpp
+++ b/toolsrc/src/commands_installation.cpp
@@ -26,7 +26,7 @@ namespace vcpkg
const std::wstring command = Strings::wformat(LR"("%%VS140COMNTOOLS%%..\..\VC\vcvarsall.bat" %s && cmake -DCMD=BUILD -DPORT=%s -DTARGET_TRIPLET=%s "-DCURRENT_PORT_DIR=%s/." -P "%s")",
Strings::utf8_to_utf16(spec.target_triplet.architecture()),
Strings::utf8_to_utf16(spec.name),
- Strings::utf8_to_utf16(spec.target_triplet.value),
+ Strings::utf8_to_utf16(spec.target_triplet.canonical_name()),
port_dir.generic_wstring(),
ports_cmake_script_path.generic_wstring());