From 0b419b998d8e54a98f04540a5dad9034d1632521 Mon Sep 17 00:00:00 2001 From: Vitaly Stakhovsky Date: Sat, 30 Sep 2017 09:53:20 -0400 Subject: VS: Do not emit empty linker Version tag This empty element does nothing, so simply remove it to simplify generated `.vcxproj` files. --- Source/cmVisualStudio10TargetGenerator.cxx | 2 -- 1 file changed, 2 deletions(-) diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx index 6535008..212b522 100644 --- a/Source/cmVisualStudio10TargetGenerator.cxx +++ b/Source/cmVisualStudio10TargetGenerator.cxx @@ -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"); -- cgit v0.12