From 88b4d5c179cc29c14ecf3fed51cf0e31612f8b99 Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Thu, 5 Jan 2006 12:16:30 -0500 Subject: BUG: Use objects that exist --- Source/CPack/cpack.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/CPack/cpack.cxx b/Source/CPack/cpack.cxx index 419261f..8c0857f 100644 --- a/Source/CPack/cpack.cxx +++ b/Source/CPack/cpack.cxx @@ -251,7 +251,7 @@ int main (int argc, char *argv[]) cpackDefinitions::MapType::iterator 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"); -- cgit v0.12