diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-03-21 17:54:31 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-03-21 17:54:31 (GMT) |
commit | 15d7dd9937f63e33dc98c75169d34953a222a20c (patch) | |
tree | f9a5d1889f351725d7a556583e874f9ca539b1f5 /Source/cmCacheManager.cxx | |
parent | bcfca6e1c1d5ca328a683eda8aa68153681f526f (diff) | |
download | CMake-15d7dd9937f63e33dc98c75169d34953a222a20c.zip CMake-15d7dd9937f63e33dc98c75169d34953a222a20c.tar.gz CMake-15d7dd9937f63e33dc98c75169d34953a222a20c.tar.bz2 |
ENH: Remove cmGlob and use glob from kwsys
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(); |