summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2005-09-05 13:17:59 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2005-09-05 13:17:59 (GMT)
commit4bc584419ec85bfbc1108d45993d730b5c5944b5 (patch)
tree65c36656fbf6d1f5b3e98b8ff73456acf0936358 /Source
parent496724ced43c4e9d79dc7cd648626019b84959e5 (diff)
downloadCMake-4bc584419ec85bfbc1108d45993d730b5c5944b5.zip
CMake-4bc584419ec85bfbc1108d45993d730b5c5944b5.tar.gz
CMake-4bc584419ec85bfbc1108d45993d730b5c5944b5.tar.bz2
ENH: fix warnings
Diffstat (limited to 'Source')
-rw-r--r--Source/cmGlobalXCodeGenerator.cxx1
-rw-r--r--Source/cmXCodeObject.h2
2 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx
index e106a82..3efc1c5 100644
--- a/Source/cmGlobalXCodeGenerator.cxx
+++ b/Source/cmGlobalXCodeGenerator.cxx
@@ -1565,7 +1565,6 @@ void cmGlobalXCodeGenerator::AddDependAndLinkInformation(cmXCodeObject* target)
linkDirs += this->XCodeEscapePath(libDir->c_str());
}
}
- cmXCodeObject* bset = target->GetObject("buildSettings");
this->AppendBuildSettingAttribute(target, "LIBRARY_SEARCH_PATHS", linkDirs.c_str());
// now add the link libraries
for(std::vector<cmStdString>::iterator lib = linkItems.begin();
diff --git a/Source/cmXCodeObject.h b/Source/cmXCodeObject.h
index f759e7f..4bee899 100644
--- a/Source/cmXCodeObject.h
+++ b/Source/cmXCodeObject.h
@@ -19,7 +19,7 @@ public:
None
};
static const char* PBXTypeNames[];
- ~cmXCodeObject();
+ virtual ~cmXCodeObject();
cmXCodeObject(PBXType ptype, Type type);
Type GetType() { return m_Type;}
PBXType GetIsA() { return m_IsA;}