Skip to content
Snippets Groups Projects
Commit db519cae authored by Brad King's avatar Brad King Committed by Kitware Robot
Browse files

Merge topic 'fix-xcode-quoting'

f7a9ed7e Xcode: Quote strings containing a tilde (#15672)
parents 5c02ae4a f7a9ed7e
No related branches found
No related tags found
No related merge requests found
......@@ -243,7 +243,7 @@ void cmXCodeObject::PrintString(std::ostream& os,std::string String)
bool needQuote =
(String.empty() ||
String.find("//") != String.npos ||
String.find_first_of(" <>+-*=@[](){},") != String.npos);
String.find_first_of(" <>+-*=@[](){},~") != String.npos);
const char* quote = needQuote? "\"" : "";
// Print the string, quoted and escaped as necessary.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment