浏览代码

ENH: @ must be escaped in xcode projects

Bill Hoffman 18 年之前
父节点
当前提交
a3d4d549ba
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Source/cmXCodeObject.cxx

+ 1 - 1
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;
     }