Переглянути джерело

ENH: fix for 64 bit cmake on mac

Bill Hoffman 17 роки тому
батько
коміт
8f4fb4ba2a
1 змінених файлів з 4 додано та 0 видалено
  1. 4 0
      Source/cmXCodeObject.cxx

+ 4 - 0
Source/cmXCodeObject.cxx

@@ -69,6 +69,10 @@ cmXCodeObject::cmXCodeObject(PBXType ptype, Type type)
       this->Id += "0";
       }
     }
+  if(this->Id.size() > 24)
+    {
+    this->Id = this->Id.substr(0,24);
+    }
   this->TypeValue = type;
   if(this->TypeValue == OBJECT)
     {