diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx index e106a8201..3efc1c5e4 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::iterator lib = linkItems.begin(); diff --git a/Source/cmXCodeObject.h b/Source/cmXCodeObject.h index f759e7f9b..4bee8992d 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;}