summaryrefslogtreecommitdiff
path: root/Source/cmExportFileGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-06-16 09:38:04 -0400
committerBrad King <brad.king@kitware.com>2014-06-23 09:22:07 -0400
commitedce43514d854a84d2a00c975268f898bd1dda45 (patch)
treebec0a19c256153bcca1cd84ecc7c97f2d455c3f1 /Source/cmExportFileGenerator.h
parent097be4139df044c86daadb665ec224ee66e6b3bb (diff)
downloadcmake-edce43514d854a84d2a00c975268f898bd1dda45.tar.gz
cmExportFileGenerator: Make SetImportLinkProperty a template
Allow the vector of property entries to have any element type that can convert to std::string.
Diffstat (limited to 'Source/cmExportFileGenerator.h')
-rw-r--r--Source/cmExportFileGenerator.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmExportFileGenerator.h b/Source/cmExportFileGenerator.h
index abd8ad531d..919924e0e0 100644
--- a/Source/cmExportFileGenerator.h
+++ b/Source/cmExportFileGenerator.h
@@ -95,9 +95,11 @@ protected:
std::string const& suffix, cmTarget* target,
ImportPropertyMap& properties,
std::vector<std::string>& missingTargets);
+
+ template <typename T>
void SetImportLinkProperty(std::string const& suffix,
cmTarget* target, const std::string& propName,
- std::vector<std::string> const& entries,
+ std::vector<T> const& entries,
ImportPropertyMap& properties,
std::vector<std::string>& missingTargets);