summaryrefslogtreecommitdiffstats
path: root/Source/cmXCodeObject.cxx
diff options
context:
space:
mode:
authorJohan Björk <phb@spotify.com>2011-06-09 08:36:53 (GMT)
committerDavid Cole <david.cole@kitware.com>2011-08-04 17:03:44 (GMT)
commitd87eb350f6b7c810145205fb6819e3174efdcc23 (patch)
tree03c025668af561087801ef730db390ecff375865 /Source/cmXCodeObject.cxx
parent14e54c4c449e2704799ab5283c6c6764472d5a0a (diff)
downloadCMake-d87eb350f6b7c810145205fb6819e3174efdcc23.zip
CMake-d87eb350f6b7c810145205fb6819e3174efdcc23.tar.gz
CMake-d87eb350f6b7c810145205fb6819e3174efdcc23.tar.bz2
Xcode: Quote ',' in Xcode string values (#12259)
Diffstat (limited to 'Source/cmXCodeObject.cxx')
-rw-r--r--Source/cmXCodeObject.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmXCodeObject.cxx b/Source/cmXCodeObject.cxx
index 71c7c25..30e5076 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.