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
This commit is contained in:
parent
39714fb179
commit
e7d1a299fb
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue