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.
This commit is contained in:
Brad King committed 2017-04-11 10:10:27 -04:00
1 parent 22829a1304
commit 10772c51b4
1 file changed
-1
-1
View File
@@ -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;