Commit 0db702c7 authored by Brad King's avatar Brad King Committed by Kitware Robot
Browse files

Merge topic 'find_program-windows-share'


 find_program: Restore leading double slash on Windows network path
Acked-by: Kitware Robot's avatarKitware Robot <>
Merge-request: !3105
parents f739654d 00c4ddf7
......@@ -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;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment