Jelajahi Sumber

ENH: @ must be escaped in xcode projects

Bill Hoffman 18 tahun lalu
induk
melakukan
a3d4d549ba
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      Source/cmXCodeObject.cxx

+ 1 - 1
Source/cmXCodeObject.cxx

@@ -194,7 +194,7 @@ void cmXCodeObject::SetString(const char* s)
   cmSystemTools::ReplaceString(ss, "\"", "\\\"");
   bool needQuote = false;
   this->String = "";
-  if(ss.find_first_of(" <>.+-=") != ss.npos)
+  if(ss.find_first_of(" <>.+-=@") != ss.npos)
     {
     needQuote = true;
     }