summaryrefslogtreecommitdiffstats
path: root/Source/cmXCodeObject.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2008-05-09 01:14:16 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2008-05-09 01:14:16 (GMT)
commit8f4fb4ba2a2db513a1e86d279206bba5d07f0b3e (patch)
tree0f2b1a83d3685d6d4ff200b74f55ff06454c4722 /Source/cmXCodeObject.cxx
parentb7ed54c950e8b44bd303447c3df370bd913301e3 (diff)
downloadCMake-8f4fb4ba2a2db513a1e86d279206bba5d07f0b3e.zip
CMake-8f4fb4ba2a2db513a1e86d279206bba5d07f0b3e.tar.gz
CMake-8f4fb4ba2a2db513a1e86d279206bba5d07f0b3e.tar.bz2
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 6cfb87b..b6c5be2 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)
{