summaryrefslogtreecommitdiffstats
path: root/Source/cmXCodeObject.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmXCodeObject.cxx')
-rw-r--r--Source/cmXCodeObject.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmXCodeObject.cxx b/Source/cmXCodeObject.cxx
index 3de51fa..262729a 100644
--- a/Source/cmXCodeObject.cxx
+++ b/Source/cmXCodeObject.cxx
@@ -1,4 +1,6 @@
#include "cmXCodeObject.h"
+#include "cmSystemTools.h"
+
const char* cmXCodeObject::PBXTypeNames[] = {
"PBXGroup", "PBXBuildStyle", "PBXProject", "PBXHeadersBuildPhase",
"PBXSourcesBuildPhase", "PBXFrameworksBuildPhase", "PBXNativeTarget",
@@ -17,6 +19,7 @@ cmXCodeObject::cmXCodeObject(PBXType ptype, Type type)
str << (void*)this;
str << (void*)this;
m_Id = str.str();
+ cmSystemTools::ReplaceString(m_Id, "0x", "");
m_Type = type;
if(m_Type == OBJECT)
{