diff options
author | Johan Björk <phb@spotify.com> | 2011-06-09 10:36:53 +0200 |
---|---|---|
committer | David Cole <david.cole@kitware.com> | 2011-08-04 13:03:44 -0400 |
commit | d87eb350f6b7c810145205fb6819e3174efdcc23 (patch) | |
tree | 03c025668af561087801ef730db390ecff375865 /Source/cmXCodeObject.cxx | |
parent | 14e54c4c449e2704799ab5283c6c6764472d5a0a (diff) | |
download | cmake-d87eb350f6b7c810145205fb6819e3174efdcc23.tar.gz |
Xcode: Quote ',' in Xcode string values (#12259)
Diffstat (limited to 'Source/cmXCodeObject.cxx')
-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 71c7c2557b..30e5076c46 100644 --- a/Source/cmXCodeObject.cxx +++ b/Source/cmXCodeObject.cxx @@ -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. |