summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-06-16 14:39:10 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2015-06-16 14:39:10 (GMT)
commite5ed8b22cb540425f7806257a96b834dcb3fb2c7 (patch)
tree7d47ac10fd5bc31e450db532e37256e457887e2c /Source
parentb6b4a1cb12c6aed2637961f380247f8234e864ef (diff)
parent90ad087ab9075cc9648df0623502da0caa44e971 (diff)
downloadCMake-e5ed8b22cb540425f7806257a96b834dcb3fb2c7.zip
CMake-e5ed8b22cb540425f7806257a96b834dcb3fb2c7.tar.gz
CMake-e5ed8b22cb540425f7806257a96b834dcb3fb2c7.tar.bz2
Merge topic 'cmake--build-dir'
90ad087a cmake: Fix --build <relative-dir> for VS generators (#15609) 7195ec92 Tests: Extend RunCMake.CommandLine to cover --build with no arg
Diffstat (limited to 'Source')
-rw-r--r--Source/cmakemain.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmakemain.cxx b/Source/cmakemain.cxx
index cc30732..c94ffec 100644
--- a/Source/cmakemain.cxx
+++ b/Source/cmakemain.cxx
@@ -420,7 +420,7 @@ static int do_build(int ac, char const* const* av)
switch (doing)
{
case DoingDir:
- dir = av[i];
+ dir = cmSystemTools::CollapseFullPath(av[i]);
doing = DoingNone;
break;
case DoingTarget: