summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-04-10 14:14:59 -0400
committerBrad King <brad.king@kitware.com>2017-04-11 10:10:27 -0400
commit10772c51b4b0eea35d78a2dd3aa45b92daab7ef2 (patch)
treeda9bdecc1cc52215fdec93c0cc49b4200bc3cee7
parent22829a130482511f8310caf74e190baee7ec763b (diff)
downloadcmake-10772c51b4b0eea35d78a2dd3aa45b92daab7ef2.tar.gz
VS: Simplify use of object libraries in WINDOWS_EXPORT_ALL_SYMBOLS
Object library files are already included by `GetExternalObjects` so we don't need to call `UseObjectLibraries` to get them.
-rw-r--r--Source/cmGlobalVisualStudioGenerator.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/Source/cmGlobalVisualStudioGenerator.cxx b/Source/cmGlobalVisualStudioGenerator.cxx
index 6d16881ee6..eae1dc48ba 100644
--- a/Source/cmGlobalVisualStudioGenerator.cxx
+++ b/Source/cmGlobalVisualStudioGenerator.cxx
@@ -887,7 +887,6 @@ void cmGlobalVisualStudioGenerator::AddSymbolExportCommand(
objs.push_back((*it)->GetFullPath());
}
- gt->UseObjectLibraries(objs, configName);
for (std::vector<std::string>::iterator it = objs.begin();
it != objs.end(); ++it) {
std::string objFile = *it;