summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2002-09-22 14:08:28 (GMT)
committerKen Martin <ken.martin@kitware.com>2002-09-22 14:08:28 (GMT)
commitcb4299e9fbddf200804b8acf0a1571202af59e58 (patch)
tree65887928b3d08768dd83f85929d30b9896b93425 /Source
parentc9d16defb061f86de2ea8e041aa453e9f7581ab0 (diff)
downloadCMake-cb4299e9fbddf200804b8acf0a1571202af59e58.zip
CMake-cb4299e9fbddf200804b8acf0a1571202af59e58.tar.gz
CMake-cb4299e9fbddf200804b8acf0a1571202af59e58.tar.bz2
defines cannot have quotes in them
Diffstat (limited to 'Source')
-rw-r--r--Source/cmLocalVisualStudio7Generator.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmLocalVisualStudio7Generator.cxx b/Source/cmLocalVisualStudio7Generator.cxx
index 3e9ce95..c847fa3 100644
--- a/Source/cmLocalVisualStudio7Generator.cxx
+++ b/Source/cmLocalVisualStudio7Generator.cxx
@@ -555,6 +555,7 @@ void cmLocalVisualStudio7Generator::OutputDefineFlags(std::ostream& fout)
define = defs.substr(pos+2);
done = true;
}
+ cmSystemTools::ReplaceString(define, "\"", "&quot;");
fout << define << ",";
if(!done)
{