mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-01 03:29:18 -05: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) {
|
if (this->MSTools) {
|
||||||
linkOptions.AddFlag("Version", "");
|
|
||||||
|
|
||||||
if (this->GeneratorTarget->GetPropertyAsBool("WIN32_EXECUTABLE")) {
|
if (this->GeneratorTarget->GetPropertyAsBool("WIN32_EXECUTABLE")) {
|
||||||
if (this->GlobalGenerator->TargetsWindowsCE()) {
|
if (this->GlobalGenerator->TargetsWindowsCE()) {
|
||||||
linkOptions.AddFlag("SubSystem", "WindowsCE");
|
linkOptions.AddFlag("SubSystem", "WindowsCE");
|
||||||
|
|||||||
Reference in New Issue
Block a user