Xcode: Quote ',' in Xcode string values (#12259)
This commit is contained in:
parent
14e54c4c44
commit
d87eb350f6
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue