VS: Do not emit empty linker Version tag

This empty element does nothing, so simply remove it to simplify
generated `.vcxproj` files.
This commit is contained in:
Vitaly Stakhovsky
2017-09-30 09:53:20 -04:00
committed by Brad King
parent 6b2aad04e8
commit 0b419b998d

View File

@@ -3225,8 +3225,6 @@ bool cmVisualStudio10TargetGenerator::ComputeLinkOptions(
}
if (this->MSTools) {
linkOptions.AddFlag("Version", "");
if (this->GeneratorTarget->GetPropertyAsBool("WIN32_EXECUTABLE")) {
if (this->GlobalGenerator->TargetsWindowsCE()) {
linkOptions.AddFlag("SubSystem", "WindowsCE");