diff options
Diffstat (limited to 'Source/cmTryCompileCommand.cxx')
-rw-r--r-- | Source/cmTryCompileCommand.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmTryCompileCommand.cxx b/Source/cmTryCompileCommand.cxx index e2848da..107e0c9 100644 --- a/Source/cmTryCompileCommand.cxx +++ b/Source/cmTryCompileCommand.cxx @@ -18,6 +18,8 @@ #include "cmCacheManager.h" #include "cmListFileCache.h" +#include <cmsys/Directory.hxx> + int cmTryCompileCommand::CoreTryCompileCode( cmMakefile *mf, std::vector<std::string> const& argv, bool clean) { @@ -263,7 +265,7 @@ void cmTryCompileCommand::CleanupFiles(const char* binDir) return; } - cmDirectory dir; + cmsys::Directory dir; dir.Load(binDir); size_t fileNum; for (fileNum = 0; fileNum < dir.GetNumberOfFiles(); ++fileNum) |