diff options
Diffstat (limited to 'Source/cmCacheManager.cxx')
-rw-r--r-- | Source/cmCacheManager.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmCacheManager.cxx b/Source/cmCacheManager.cxx index 7d3c151..fb6385e 100644 --- a/Source/cmCacheManager.cxx +++ b/Source/cmCacheManager.cxx @@ -19,8 +19,9 @@ #include "cmSystemTools.h" #include "cmCacheManager.h" #include "cmMakefile.h" -#include "cmGlob.h" + #include <cmsys/Directory.hxx> +#include <cmsys/Glob.hxx> #include <cmsys/RegularExpression.hxx> @@ -163,7 +164,7 @@ void cmCacheManager::CleanCMakeFiles(const char* path) { std::string glob = path; glob += "/CMakeFiles/*.cmake"; - cmGlob globIt; + cmsys::Glob globIt; globIt.FindFiles(glob); std::vector<std::string> files = globIt.GetFiles(); for(std::vector<std::string>::iterator i = files.begin(); |