浏览代码

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";
       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)
     {
     {