diff options
author | Brad King <brad.king@kitware.com> | 2008-01-31 11:51:43 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2008-01-31 11:51:43 (GMT) |
commit | 73a5f0846f4946d74bbe7822fdf5458481e03362 (patch) | |
tree | 47c0ad83e3ed5cc5923e9f1c155ac1edd44598c9 | |
parent | 3edc8e83efb7c74e446a260f521ff45e4903794a (diff) | |
download | CMake-73a5f0846f4946d74bbe7822fdf5458481e03362.zip CMake-73a5f0846f4946d74bbe7822fdf5458481e03362.tar.gz CMake-73a5f0846f4946d74bbe7822fdf5458481e03362.tar.bz2 |
COMP: Remove unused parameter.
-rw-r--r-- | Source/cmExportFileGenerator.cxx | 9 | ||||
-rw-r--r-- | Source/cmExportFileGenerator.h | 3 |
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); |