summaryrefslogtreecommitdiffstats
path: root/Source/cmTryCompileCommand.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2003-06-23 12:58:58 (GMT)
committerBrad King <brad.king@kitware.com>2003-06-23 12:58:58 (GMT)
commitdc3fd5c26727ae81b57c4fa2b5559b6c1e36840c (patch)
treeed05e732bd914a3a9048b566f14cdffbba2eeb85 /Source/cmTryCompileCommand.cxx
parentc5890b8c2e5593752eaceeb19923917618d59e1f (diff)
downloadCMake-dc3fd5c26727ae81b57c4fa2b5559b6c1e36840c.zip
CMake-dc3fd5c26727ae81b57c4fa2b5559b6c1e36840c.tar.gz
CMake-dc3fd5c26727ae81b57c4fa2b5559b6c1e36840c.tar.bz2
ENH: Merged use of kwsys library.
Diffstat (limited to 'Source/cmTryCompileCommand.cxx')
-rw-r--r--Source/cmTryCompileCommand.cxx4
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)