summaryrefslogtreecommitdiff
path: root/Source/cmGlobalVisualStudio6Generator.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2004-01-07 09:08:52 -0500
committerBill Hoffman <bill.hoffman@kitware.com>2004-01-07 09:08:52 -0500
commit5d987e4a3fbb3a2ba2ab8a76d9c544f85c1cc904 (patch)
tree3f391dda6bcb7ee45d39f722f6548d3e32c6faba /Source/cmGlobalVisualStudio6Generator.cxx
parentc3003ab8c3a4536b3e3d117dba3d88fed2f3f947 (diff)
downloadcmake-5d987e4a3fbb3a2ba2ab8a76d9c544f85c1cc904.tar.gz
BUG: fix crash
Diffstat (limited to 'Source/cmGlobalVisualStudio6Generator.cxx')
-rw-r--r--Source/cmGlobalVisualStudio6Generator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalVisualStudio6Generator.cxx b/Source/cmGlobalVisualStudio6Generator.cxx
index 1ae06d8f21..4134f49b7a 100644
--- a/Source/cmGlobalVisualStudio6Generator.cxx
+++ b/Source/cmGlobalVisualStudio6Generator.cxx
@@ -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