Răsfoiți Sursa

BUG: fix crash

Bill Hoffman 22 ani în urmă
părinte
comite
5d987e4a3f
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      Source/cmGlobalVisualStudio6Generator.cxx

+ 1 - 1
Source/cmGlobalVisualStudio6Generator.cxx

@@ -272,7 +272,7 @@ void cmGlobalVisualStudio6Generator::WriteDSWFile(std::ostream& fout,
       // Write the project into the DSW file
       // Write the project into the DSW file
       if (strncmp(l->first.c_str(), "INCLUDE_EXTERNAL_MSPROJECT", 26) == 0)
       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 
         // dodgy use of the cmCustomCommand's members to store the 
         // arguments from the INCLUDE_EXTERNAL_MSPROJECT command
         // arguments from the INCLUDE_EXTERNAL_MSPROJECT command