summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-11-19 10:13:04 (GMT)
committerStephen Kelly <steveire@gmail.com>2013-11-19 19:40:31 (GMT)
commit36e31cd1279cc441ba61bd38e85562fb2eafc449 (patch)
tree44890d72f0d24420fa826306942390a2a7b61b58
parent04d398d3561453beb5e52db61810d98a832761ce (diff)
downloadCMake-36e31cd1279cc441ba61bd38e85562fb2eafc449.zip
CMake-36e31cd1279cc441ba61bd38e85562fb2eafc449.tar.gz
CMake-36e31cd1279cc441ba61bd38e85562fb2eafc449.tar.bz2
cmTarget: Make GetInterfaceLinkLibraries const.
-rw-r--r--Source/cmTarget.cxx2
-rw-r--r--Source/cmTarget.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index 26b1e76..b0caf16 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<std::string> &libs, cmTarget *head)
+ std::vector<std::string> &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 e67edd7..aeb8703 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<std::string> &,
- cmTarget *head);
+ cmTarget *head) const;
/** Compute the link type to use for the given configuration. */
LinkLibraryType ComputeLinkType(const char* config) const;