summaryrefslogtreecommitdiff
path: root/Source/cmExportTryCompileFileGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-04-11 11:06:28 -0400
committerBrad King <brad.king@kitware.com>2022-04-11 13:40:13 -0400
commit8c65b7042e0e7bca3dc5c0cda8975fd2e9c6dc51 (patch)
tree340fba27fb9bd49f82197ba477939a2ee9bfcd2e /Source/cmExportTryCompileFileGenerator.h
parent7fc248bde34c529c6f1312a56c7e82303238b9c1 (diff)
downloadcmake-8c65b7042e0e7bca3dc5c0cda8975fd2e9c6dc51.tar.gz
cmExportFileGenerator: Simplify collection of targets missing from export set
Store the list of missing target names in a member instead of threading an explicit reference to it through the call stack.
Diffstat (limited to 'Source/cmExportTryCompileFileGenerator.h')
-rw-r--r--Source/cmExportTryCompileFileGenerator.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/Source/cmExportTryCompileFileGenerator.h b/Source/cmExportTryCompileFileGenerator.h
index 8a1fd7e3af..1dd8a20a38 100644
--- a/Source/cmExportTryCompileFileGenerator.h
+++ b/Source/cmExportTryCompileFileGenerator.h
@@ -33,12 +33,10 @@ protected:
bool GenerateMainFile(std::ostream& os) override;
void GenerateImportTargetsConfig(std::ostream&, const std::string&,
- std::string const&,
- std::vector<std::string>&) override
+ std::string const&) override
{
}
- void HandleMissingTarget(std::string&, std::vector<std::string>&,
- cmGeneratorTarget const*,
+ void HandleMissingTarget(std::string&, cmGeneratorTarget const*,
cmGeneratorTarget*) override
{
}