diff --git a/Source/cmGeneratorTarget.h b/Source/cmGeneratorTarget.h index 8ae98e8eac..93ad11919b 100644 --- a/Source/cmGeneratorTarget.h +++ b/Source/cmGeneratorTarget.h @@ -264,9 +264,6 @@ public: cmLinkInterface const* GetLinkInterface( const std::string& config, const cmGeneratorTarget* headTarget) const; - void ComputeLinkInterface(const std::string& config, - cmOptionalLinkInterface& iface, - const cmGeneratorTarget* head) const; enum class UseTo { diff --git a/Source/cmGeneratorTarget_Link.cxx b/Source/cmGeneratorTarget_Link.cxx index eaa56390d8..87c41b46de 100644 --- a/Source/cmGeneratorTarget_Link.cxx +++ b/Source/cmGeneratorTarget_Link.cxx @@ -683,13 +683,6 @@ cmLinkInterface const* cmGeneratorTarget::GetLinkInterface( return iface.Exists ? &iface : nullptr; } -void cmGeneratorTarget::ComputeLinkInterface( - const std::string& config, cmOptionalLinkInterface& iface, - cmGeneratorTarget const* headTarget) const -{ - this->ComputeLinkInterface(config, iface, headTarget, false); -} - void cmGeneratorTarget::ComputeLinkInterface( const std::string& config, cmOptionalLinkInterface& iface, cmGeneratorTarget const* headTarget, bool secondPass) const