diff options
-rw-r--r-- | Source/cmSystemTools.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx index b5ebed2..40fafe2 100644 --- a/Source/cmSystemTools.cxx +++ b/Source/cmSystemTools.cxx @@ -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; |