diff options
author | Brad King <brad.king@kitware.com> | 2015-08-03 13:11:28 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2015-08-03 13:11:28 (GMT) |
commit | db519cae57122dc6584226aac951674b49301efc (patch) | |
tree | cbc0a697866c9c27496ebfd3fd3baea00e3db64d /Source | |
parent | 5c02ae4ac9dec3a275d3965ccdcfdb564686dc79 (diff) | |
parent | f7a9ed7e90cd2661b279d0bcd44d43620b8eeda1 (diff) | |
download | CMake-db519cae57122dc6584226aac951674b49301efc.zip CMake-db519cae57122dc6584226aac951674b49301efc.tar.gz CMake-db519cae57122dc6584226aac951674b49301efc.tar.bz2 |
Merge topic 'fix-xcode-quoting'
f7a9ed7e Xcode: Quote strings containing a tilde (#15672)
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. |