浏览代码

Xcode: Quote ',' in Xcode string values (#12259)

Johan Björk 14 年之前
父节点
当前提交
d87eb350f6
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Source/cmXCodeObject.cxx

+ 1 - 1
Source/cmXCodeObject.cxx

@@ -241,7 +241,7 @@ void cmXCodeObject::PrintString(std::ostream& os,cmStdString String)
   // considered special by the Xcode project file parser.
   bool needQuote =
     (String.empty() ||
-     String.find_first_of(" <>.+-=@$[]") != String.npos);
+     String.find_first_of(" <>.+-=@$[],") != String.npos);
   const char* quote = needQuote? "\"" : "";
 
   // Print the string, quoted and escaped as necessary.