diff options
author | David Cole <david.cole@kitware.com> | 2011-08-16 21:02:38 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2011-08-16 21:02:38 (GMT) |
commit | e1d4a73be0d43e6752fbe478789dba86f5eff9ba (patch) | |
tree | 42c997879612603041edd8b9776332057e0a2d13 | |
parent | b16de67e8fb6c72bae9d9513e53c3d185edfeca1 (diff) | |
parent | d87eb350f6b7c810145205fb6819e3174efdcc23 (diff) | |
download | CMake-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.cxx | 2 |
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. |