diff options
author | Brad King <brad.king@kitware.com> | 2015-07-31 12:56:20 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-07-31 12:56:20 (GMT) |
commit | bcba0d30992eb326f9c561b2fd86c784bf358302 (patch) | |
tree | ada25b5483e71bba8e7af0baee5ed98f77b42ad9 /Source | |
parent | 59f4d9e85cfae752ccf99a8e9600aca301529f3c (diff) | |
parent | f7a9ed7e90cd2661b279d0bcd44d43620b8eeda1 (diff) | |
download | CMake-bcba0d30992eb326f9c561b2fd86c784bf358302.zip CMake-bcba0d30992eb326f9c561b2fd86c784bf358302.tar.gz CMake-bcba0d30992eb326f9c561b2fd86c784bf358302.tar.bz2 |
Merge branch 'fix-xcode-quoting' into release
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmXCodeObject.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmXCodeObject.cxx b/Source/cmXCodeObject.cxx index e72d315..ba6e395 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. |