BUG: Use objects that exist

This commit is contained in:
Andy Cedilnik 2006-01-05 12:16:30 -05:00
parent af923d13fa
commit 88b4d5c179
1 changed files with 1 additions and 1 deletions

View File

@ -251,7 +251,7 @@ int main (int argc, char *argv[])
cpackDefinitions::MapType::iterator cdit; cpackDefinitions::MapType::iterator cdit;
for ( cdit = definitions.m_Map.begin(); cdit != definitions.m_Map.end(); ++cdit ) for ( cdit = definitions.m_Map.begin(); cdit != definitions.m_Map.end(); ++cdit )
{ {
cpackGenerator->SetOption(cdit->first.c_str(), cdit->second.c_str()); mf->AddDefinition(cdit->first.c_str(), cdit->second.c_str());
} }
const char* gen = mf->GetDefinition("CPACK_GENERATOR"); const char* gen = mf->GetDefinition("CPACK_GENERATOR");