summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-07-31 08:56:20 -0400
committerBrad King <brad.king@kitware.com>2015-07-31 08:56:20 -0400
commitbcba0d30992eb326f9c561b2fd86c784bf358302 (patch)
treeada25b5483e71bba8e7af0baee5ed98f77b42ad9
parent59f4d9e85cfae752ccf99a8e9600aca301529f3c (diff)
parentf7a9ed7e90cd2661b279d0bcd44d43620b8eeda1 (diff)
downloadcmake-bcba0d30992eb326f9c561b2fd86c784bf358302.tar.gz
Merge branch 'fix-xcode-quoting' into release
-rw-r--r--Source/cmXCodeObject.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmXCodeObject.cxx b/Source/cmXCodeObject.cxx
index e72d315a7a..ba6e39517f 100644
--- a/Source/cmXCodeObject.cxx
+++ b/Source/cmXCodeObject.cxx
@@ -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.