diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2016-10-03 17:20:52 -0700 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2016-10-03 17:20:52 -0700 |
| commit | 330b411cd2f4aa25632b2ae5ea2fef396fb13d12 (patch) | |
| tree | c7aa03d21ebb2ad58241f3f412fd13bdb34d8397 /toolsrc/src/vcpkg_paths.cpp | |
| parent | e03e617f069471c34e90b1a84e256c1607252f04 (diff) | |
| download | vcpkg-330b411cd2f4aa25632b2ae5ea2fef396fb13d12.tar.gz vcpkg-330b411cd2f4aa25632b2ae5ea2fef396fb13d12.zip | |
[triplet] Force using the factory that does sanity checks
Diffstat (limited to 'toolsrc/src/vcpkg_paths.cpp')
| -rw-r--r-- | toolsrc/src/vcpkg_paths.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toolsrc/src/vcpkg_paths.cpp b/toolsrc/src/vcpkg_paths.cpp index 982eb9970..559f719af 100644 --- a/toolsrc/src/vcpkg_paths.cpp +++ b/toolsrc/src/vcpkg_paths.cpp @@ -61,7 +61,7 @@ namespace vcpkg for (; it != fs::directory_iterator(); ++it) { std::string triplet_file_name = it->path().stem().generic_u8string(); - if (t.value == triplet_file_name) // TODO: fuzzy compare + if (t.canonical_name() == triplet_file_name) // TODO: fuzzy compare { //t.value = triplet_file_name; // NOTE: uncomment when implementing fuzzy compare return true; |
