Commit e7d1a299 authored by Andy Cedilnik's avatar Andy Cedilnik
Browse files

Fix bug in globbing. Now it actually uses only files or directories that...

Fix bug in globbing. Now it actually uses only files or directories that result in globbing not the ones that were is the vector before
parent 39714fb1
......@@ -2291,6 +2291,7 @@ bool cmSystemTools::SimpleGlob(const std::string& glob,
std::vector<std::string>& files,
int type /* = 0 */)
{
files.clear();
if ( glob[glob.size()-1] != '*' )
{
return false;
......
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