aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2017-01-23 16:39:05 -0800
committerAlexander Karatarakis <alkarata@microsoft.com>2017-01-23 16:39:05 -0800
commita4b419dc7b6fd533904b5c702053c4a871f72629 (patch)
treeb2e2859c1b2ec9b5a891ab8ab88b416b897f7366 /toolsrc/src
parent612d2041214e90d242a5cad9bcf8b2b52357685d (diff)
downloadvcpkg-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.cpp2
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;
}