mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-28 04:09:35 +03:00
Xcode: Quote ',' in Xcode string values (#12259)
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user