summaryrefslogtreecommitdiff
path: root/Source/cmXCodeObject.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2008-05-08 21:14:16 -0400
committerBill Hoffman <bill.hoffman@kitware.com>2008-05-08 21:14:16 -0400
commit8f4fb4ba2a2db513a1e86d279206bba5d07f0b3e (patch)
tree0f2b1a83d3685d6d4ff200b74f55ff06454c4722 /Source/cmXCodeObject.cxx
parentb7ed54c950e8b44bd303447c3df370bd913301e3 (diff)
downloadcmake-8f4fb4ba2a2db513a1e86d279206bba5d07f0b3e.tar.gz
ENH: fix for 64 bit cmake on mac
Diffstat (limited to 'Source/cmXCodeObject.cxx')
-rw-r--r--Source/cmXCodeObject.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmXCodeObject.cxx b/Source/cmXCodeObject.cxx
index 6cfb87be01..b6c5be274d 100644
--- a/Source/cmXCodeObject.cxx
+++ b/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)
{