summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/cmExportFileGenerator.cxx9
-rw-r--r--Source/cmExportFileGenerator.h3
2 files changed, 4 insertions, 8 deletions
diff --git a/Source/cmExportFileGenerator.cxx b/Source/cmExportFileGenerator.cxx
index fbaeda6..5c4d0f2 100644
--- a/Source/cmExportFileGenerator.cxx
+++ b/Source/cmExportFileGenerator.cxx
@@ -139,8 +139,7 @@ cmExportFileGenerator
target->GetLinkInterface(config))
{
// This target provides a link interface, so use it.
- this->SetImportLinkProperties(config, suffix, target,
- *interface, properties);
+ this->SetImportLinkProperties(suffix, target, *interface, properties);
}
else if(target->GetType() == cmTarget::STATIC_LIBRARY ||
target->GetType() == cmTarget::SHARED_LIBRARY)
@@ -184,15 +183,13 @@ cmExportFileGenerator
}
// Store the entries in the property.
- this->SetImportLinkProperties(config, suffix, target,
- actual_libs, properties);
+ this->SetImportLinkProperties(suffix, target, actual_libs, properties);
}
//----------------------------------------------------------------------------
void
cmExportFileGenerator
-::SetImportLinkProperties(const char* config,
- std::string const& suffix,
+::SetImportLinkProperties(std::string const& suffix,
cmTarget* target,
std::vector<std::string> const& libs,
ImportPropertyMap& properties)
diff --git a/Source/cmExportFileGenerator.h b/Source/cmExportFileGenerator.h
index ac9cb75..9412471 100644
--- a/Source/cmExportFileGenerator.h
+++ b/Source/cmExportFileGenerator.h
@@ -70,8 +70,7 @@ protected:
void SetImportLinkProperties(const char* config,
std::string const& suffix, cmTarget* target,
ImportPropertyMap& properties);
- void SetImportLinkProperties(const char* config,
- std::string const& suffix,
+ void SetImportLinkProperties(std::string const& suffix,
cmTarget* target,
std::vector<std::string> const& libs,
ImportPropertyMap& properties);