summaryrefslogtreecommitdiffstats
path: root/Source/cmVisualStudio10TargetGenerator.cxx
diff options
context:
space:
mode:
authorVitaly Stakhovsky <vvs31415@gitlab.org>2017-09-30 13:53:20 (GMT)
committerBrad King <brad.king@kitware.com>2017-10-03 12:27:46 (GMT)
commit0b419b998d8e54a98f04540a5dad9034d1632521 (patch)
tree42110391c145e7ba44eccbed54d77e175a33f504 /Source/cmVisualStudio10TargetGenerator.cxx
parent6b2aad04e84dabf59b534be4a9e6b88674492852 (diff)
downloadCMake-0b419b998d8e54a98f04540a5dad9034d1632521.zip
CMake-0b419b998d8e54a98f04540a5dad9034d1632521.tar.gz
CMake-0b419b998d8e54a98f04540a5dad9034d1632521.tar.bz2
VS: Do not emit empty linker Version tag
This empty element does nothing, so simply remove it to simplify generated `.vcxproj` files.
Diffstat (limited to 'Source/cmVisualStudio10TargetGenerator.cxx')
-rw-r--r--Source/cmVisualStudio10TargetGenerator.cxx2
1 files changed, 0 insertions, 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");