summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2011-08-16 21:02:38 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2011-08-16 21:02:38 (GMT)
commite1d4a73be0d43e6752fbe478789dba86f5eff9ba (patch)
tree42c997879612603041edd8b9776332057e0a2d13
parentb16de67e8fb6c72bae9d9513e53c3d185edfeca1 (diff)
parentd87eb350f6b7c810145205fb6819e3174efdcc23 (diff)
downloadCMake-e1d4a73be0d43e6752fbe478789dba86f5eff9ba.zip
CMake-e1d4a73be0d43e6752fbe478789dba86f5eff9ba.tar.gz
CMake-e1d4a73be0d43e6752fbe478789dba86f5eff9ba.tar.bz2
Merge topic 'fix-12259-quote-commas-for-xcode'
d87eb35 Xcode: Quote ',' in Xcode string values (#12259)
-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.