summaryrefslogtreecommitdiff
path: root/Source/cmAuxSourceDirectoryCommand.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2003-06-23 08:58:58 -0400
committerBrad King <brad.king@kitware.com>2003-06-23 08:58:58 -0400
commitdc3fd5c26727ae81b57c4fa2b5559b6c1e36840c (patch)
treeed05e732bd914a3a9048b566f14cdffbba2eeb85 /Source/cmAuxSourceDirectoryCommand.cxx
parentc5890b8c2e5593752eaceeb19923917618d59e1f (diff)
downloadcmake-dc3fd5c26727ae81b57c4fa2b5559b6c1e36840c.tar.gz
ENH: Merged use of kwsys library.
Diffstat (limited to 'Source/cmAuxSourceDirectoryCommand.cxx')
-rw-r--r--Source/cmAuxSourceDirectoryCommand.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmAuxSourceDirectoryCommand.cxx b/Source/cmAuxSourceDirectoryCommand.cxx
index 0486253921..e8d11e2db6 100644
--- a/Source/cmAuxSourceDirectoryCommand.cxx
+++ b/Source/cmAuxSourceDirectoryCommand.cxx
@@ -15,9 +15,10 @@
=========================================================================*/
#include "cmAuxSourceDirectoryCommand.h"
-#include "cmDirectory.h"
#include "cmSourceFile.h"
+#include <cmsys/Directory.hxx>
+
// cmAuxSourceDirectoryCommand
bool cmAuxSourceDirectoryCommand::InitialPass(std::vector<std::string> const& args)
{
@@ -42,7 +43,7 @@ bool cmAuxSourceDirectoryCommand::InitialPass(std::vector<std::string> const& ar
}
// Load all the files in the directory
- cmDirectory dir;
+ cmsys::Directory dir;
if(dir.Load(tdir.c_str()))
{
size_t numfiles = dir.GetNumberOfFiles();