mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-30 02:59:22 -05:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user