BUG: fix crash

This commit is contained in:
Bill Hoffman 2004-01-07 09:08:52 -05:00
parent c3003ab8c3
commit 5d987e4a3f
1 changed files with 1 additions and 1 deletions

View File

@ -272,7 +272,7 @@ void cmGlobalVisualStudio6Generator::WriteDSWFile(std::ostream& fout,
// Write the project into the DSW file
if (strncmp(l->first.c_str(), "INCLUDE_EXTERNAL_MSPROJECT", 26) == 0)
{
cmCustomCommand cc = l->second.GetPreLinkCommands()[0];
cmCustomCommand cc = l->second.GetPostBuildCommands()[0];
// dodgy use of the cmCustomCommand's members to store the
// arguments from the INCLUDE_EXTERNAL_MSPROJECT command