summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-03-14 14:52:12 -0400
committerBrad King <brad.king@kitware.com>2019-03-14 14:52:12 -0400
commit5b6c6c2d80c6dee20b84dbec64e42ce2d426d33e (patch)
tree07070996413491fa686a148470073d50fe88c56e /Source
parent0e652f2defb3ebb700a39fd2d2e1bdd8605ca5b4 (diff)
parent00c4ddf75eb4065ad099c921604df98257f5e59a (diff)
downloadcmake-5b6c6c2d80c6dee20b84dbec64e42ce2d426d33e.tar.gz
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 db340772fc..782f746ef7 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;