summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-03-14 18:52:12 (GMT)
committerBrad King <brad.king@kitware.com>2019-03-14 18:52:12 (GMT)
commit5b6c6c2d80c6dee20b84dbec64e42ce2d426d33e (patch)
tree07070996413491fa686a148470073d50fe88c56e /Source
parent0e652f2defb3ebb700a39fd2d2e1bdd8605ca5b4 (diff)
parent00c4ddf75eb4065ad099c921604df98257f5e59a (diff)
downloadCMake-5b6c6c2d80c6dee20b84dbec64e42ce2d426d33e.zip
CMake-5b6c6c2d80c6dee20b84dbec64e42ce2d426d33e.tar.gz
CMake-5b6c6c2d80c6dee20b84dbec64e42ce2d426d33e.tar.bz2
Merge branch 'find_program-windows-share' into release-3.14
Merge-request: !3105
Diffstat (limited to 'Source')
-rw-r--r--Source/cmFindProgramCommand.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmFindProgramCommand.cxx b/Source/cmFindProgramCommand.cxx
index db34077..782f746 100644
--- a/Source/cmFindProgramCommand.cxx
+++ b/Source/cmFindProgramCommand.cxx
@@ -77,7 +77,7 @@ struct cmFindProgramHelper
this->TestNameExt = name;
this->TestNameExt += ext;
this->TestPath =
- cmSystemTools::CollapseCombinedPath(path, this->TestNameExt);
+ cmSystemTools::CollapseFullPath(this->TestNameExt, path);
if (cmSystemTools::FileExists(this->TestPath, true)) {
this->BestPath = this->TestPath;