summaryrefslogtreecommitdiffstats
path: root/Source/cmFindBase.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmFindBase.cxx')
-rw-r--r--Source/cmFindBase.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmFindBase.cxx b/Source/cmFindBase.cxx
index 68e091b..41e09f0 100644
--- a/Source/cmFindBase.cxx
+++ b/Source/cmFindBase.cxx
@@ -273,6 +273,10 @@ bool cmFindBase::ParseArguments(std::vector<std::string> const& argsIn)
// Handle search root stuff.
this->RerootPaths(this->SearchPaths);
+
+ // Add a trailing slash to all prefixes to aid the search process.
+ this->AddTrailingSlashes(this->SearchPaths);
+
return true;
}