summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2004-01-07 14:08:52 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2004-01-07 14:08:52 (GMT)
commit5d987e4a3fbb3a2ba2ab8a76d9c544f85c1cc904 (patch)
tree3f391dda6bcb7ee45d39f722f6548d3e32c6faba
parentc3003ab8c3a4536b3e3d117dba3d88fed2f3f947 (diff)
downloadCMake-5d987e4a3fbb3a2ba2ab8a76d9c544f85c1cc904.zip
CMake-5d987e4a3fbb3a2ba2ab8a76d9c544f85c1cc904.tar.gz
CMake-5d987e4a3fbb3a2ba2ab8a76d9c544f85c1cc904.tar.bz2
BUG: fix crash
-rw-r--r--Source/cmGlobalVisualStudio6Generator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalVisualStudio6Generator.cxx b/Source/cmGlobalVisualStudio6Generator.cxx
index 1ae06d8..4134f49 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