From 36e31cd1279cc441ba61bd38e85562fb2eafc449 Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Tue, 19 Nov 2013 11:13:04 +0100 Subject: [PATCH] cmTarget: Make GetInterfaceLinkLibraries const. --- Source/cmTarget.cxx | 2 +- Source/cmTarget.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx index 26b1e7614..b0caf166b 100644 --- a/Source/cmTarget.cxx +++ b/Source/cmTarget.cxx @@ -811,7 +811,7 @@ void cmTarget::GetDirectLinkLibraries(const char *config, //---------------------------------------------------------------------------- void cmTarget::GetInterfaceLinkLibraries(const char *config, - std::vector &libs, cmTarget *head) + std::vector &libs, cmTarget *head) const { const char *prop = this->GetProperty("INTERFACE_LINK_LIBRARIES"); if (prop) diff --git a/Source/cmTarget.h b/Source/cmTarget.h index e67edd745..aeb8703d8 100644 --- a/Source/cmTarget.h +++ b/Source/cmTarget.h @@ -186,7 +186,7 @@ public: cmTarget const* head) const; void GetInterfaceLinkLibraries(const char *config, std::vector &, - cmTarget *head); + cmTarget *head) const; /** Compute the link type to use for the given configuration. */ LinkLibraryType ComputeLinkType(const char* config) const;