summaryrefslogtreecommitdiffstats
path: root/Source/cmCableSourceFilesCommand.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2001-04-24 20:49:12 (GMT)
committerKen Martin <ken.martin@kitware.com>2001-04-24 20:49:12 (GMT)
commit73f04d1409ec4dfcb3b8db3e104da2a894d019a2 (patch)
treee1578688252c8a50fb307d60045379a53a02d646 /Source/cmCableSourceFilesCommand.cxx
parentb5746484e4c396489b707e0f8b4d1f539e62a965 (diff)
downloadCMake-73f04d1409ec4dfcb3b8db3e104da2a894d019a2.zip
CMake-73f04d1409ec4dfcb3b8db3e104da2a894d019a2.tar.gz
CMake-73f04d1409ec4dfcb3b8db3e104da2a894d019a2.tar.bz2
many fixes and cleanup and features
Diffstat (limited to 'Source/cmCableSourceFilesCommand.cxx')
-rw-r--r--Source/cmCableSourceFilesCommand.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmCableSourceFilesCommand.cxx b/Source/cmCableSourceFilesCommand.cxx
index a0584dc..50e4d2c 100644
--- a/Source/cmCableSourceFilesCommand.cxx
+++ b/Source/cmCableSourceFilesCommand.cxx
@@ -24,8 +24,8 @@ void cmCableSourceFilesCommand::FinalPass()
std::string fileName = "Cxx/";
fileName += cablePackage->GetPackageName();
fileName += "_cxx";
- cmClassFile *ci = m_Makefile->GetClass(cablePackage->GetPackageName(),
- fileName.c_str());
+ cmSourceFile *ci = m_Makefile->GetSource(cablePackage->GetPackageName(),
+ fileName.c_str());
if(ci == 0)
{ return; }
@@ -36,7 +36,7 @@ void cmCableSourceFilesCommand::FinalPass()
f != m_Entries.end(); ++f)
{
std::string header = *f+".h";
- ci->m_Depends.push_back(header);
+ ci->GetDepends().push_back(header);
}
}