mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-01 11:22:21 -06:00
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:
committed by
Brad King
parent
6b2aad04e8
commit
0b419b998d
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user