diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2017-01-23 16:39:05 -0800 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2017-01-23 16:39:05 -0800 |
| commit | a4b419dc7b6fd533904b5c702053c4a871f72629 (patch) | |
| tree | b2e2859c1b2ec9b5a891ab8ab88b416b897f7366 /toolsrc/src | |
| parent | 612d2041214e90d242a5cad9bcf8b2b52357685d (diff) | |
| download | vcpkg-a4b419dc7b6fd533904b5c702053c4a871f72629.tar.gz vcpkg-a4b419dc7b6fd533904b5c702053c4a871f72629.zip | |
Add comment about trailing backslash in VS140COMNTOOLS
Diffstat (limited to 'toolsrc/src')
| -rw-r--r-- | toolsrc/src/vcpkg_Environment.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toolsrc/src/vcpkg_Environment.cpp b/toolsrc/src/vcpkg_Environment.cpp index de17158b4..709627878 100644 --- a/toolsrc/src/vcpkg_Environment.cpp +++ b/toolsrc/src/vcpkg_Environment.cpp @@ -97,7 +97,7 @@ namespace vcpkg::Environment static const fs::path& get_VS2015_installation_instance() { - static const fs::path vs2015_cmntools = fs::path(System::wdupenv_str(L"VS140COMNTOOLS")).parent_path(); // TODO: Check why this requires parent_path() call + static const fs::path vs2015_cmntools = fs::path(System::wdupenv_str(L"VS140COMNTOOLS")).parent_path(); // The call to parent path is needed because the env variable has a trailing backslash static const fs::path vs2015_path = vs2015_cmntools.parent_path().parent_path(); return vs2015_path; } |
