Explorar el Código

ENH: fix for 64 bit cmake on mac

Bill Hoffman hace 17 años
padre
commit
8f4fb4ba2a
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  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)
     {