summaryrefslogtreecommitdiffstats
path: root/Source/cmDSWWriter.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmDSWWriter.cxx')
-rw-r--r--Source/cmDSWWriter.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmDSWWriter.cxx b/Source/cmDSWWriter.cxx
index c6dbfef..d06c407 100644
--- a/Source/cmDSWWriter.cxx
+++ b/Source/cmDSWWriter.cxx
@@ -169,8 +169,7 @@ void cmDSWWriter::WriteDSWFile(std::ostream& fout)
}
else
{
- l->second.GetLinkLibraries().push_back(
- cmTarget::LinkLibraries::value_type(al->first, cmTarget::GENERAL));
+ l->second.AddLinkLibrary(al->first, cmTarget::GENERAL);
}
}
}