Procházet zdrojové kódy

BUG: Do not escape make variable references in VS additional options.

Brad King před 17 roky
rodič
revize
b73cac6409
1 změnil soubory, kde provedl 4 přidání a 2 odebrání
  1. 4 2
      Source/cmLocalVisualStudio7Generator.cxx

+ 4 - 2
Source/cmLocalVisualStudio7Generator.cxx

@@ -2173,8 +2173,10 @@ void cmLocalVisualStudio7GeneratorOptions::HandleFlag(const char* flag)
   // This option is not known.  Store it in the output flags.
   this->FlagString += " ";
   this->FlagString +=
-    cmSystemTools::EscapeWindowsShellArgument(flag,
-                                              cmsysSystem_Shell_Flag_VSIDE);
+    cmSystemTools::EscapeWindowsShellArgument(
+      flag,
+      cmsysSystem_Shell_Flag_AllowMakeVariables |
+      cmsysSystem_Shell_Flag_VSIDE);
 }
 
 //----------------------------------------------------------------------------