Parcourir la source

BUG: fix crash

Bill Hoffman il y a 22 ans
Parent
commit
5d987e4a3f
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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
       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