summaryrefslogtreecommitdiffstats
path: root/Source/cmXCodeObject.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2007-05-27 14:32:22 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2007-05-27 14:32:22 (GMT)
commita3d4d549ba865c33ee3c875e738f38b618c536c6 (patch)
tree328fee31dabb04b4ca53f1ea4536a99bc26c5cb5 /Source/cmXCodeObject.cxx
parent4168dba9d98e5038262eed08fb9c757d378ef0eb (diff)
downloadCMake-a3d4d549ba865c33ee3c875e738f38b618c536c6.zip
CMake-a3d4d549ba865c33ee3c875e738f38b618c536c6.tar.gz
CMake-a3d4d549ba865c33ee3c875e738f38b618c536c6.tar.bz2
ENH: @ must be escaped in xcode projects
Diffstat (limited to 'Source/cmXCodeObject.cxx')
-rw-r--r--Source/cmXCodeObject.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmXCodeObject.cxx b/Source/cmXCodeObject.cxx
index de06025..c44daa2 100644
--- a/Source/cmXCodeObject.cxx
+++ b/Source/cmXCodeObject.cxx
@@ -194,7 +194,7 @@ void cmXCodeObject::SetString(const char* s)
cmSystemTools::ReplaceString(ss, "\"", "\\\"");
bool needQuote = false;
this->String = "";
- if(ss.find_first_of(" <>.+-=") != ss.npos)
+ if(ss.find_first_of(" <>.+-=@") != ss.npos)
{
needQuote = true;
}