Browse Source

defines cannot have quotes in them

Ken Martin 23 years ago
parent
commit
cb4299e9fb
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Source/cmLocalVisualStudio7Generator.cxx

+ 1 - 0
Source/cmLocalVisualStudio7Generator.cxx

@@ -555,6 +555,7 @@ void cmLocalVisualStudio7Generator::OutputDefineFlags(std::ostream& fout)
       define = defs.substr(pos+2);
       done = true;
       }
+    cmSystemTools::ReplaceString(define, "\"", """);
     fout << define << ",";
     if(!done)
       {