Forráskód Böngészése

ENH: fix for 64 bit cmake on mac

Bill Hoffman 17 éve
szülő
commit
8f4fb4ba2a
1 módosított fájl, 4 hozzáadás és 0 törlés
  1. 4 0
      Source/cmXCodeObject.cxx

+ 4 - 0
Source/cmXCodeObject.cxx

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