summaryrefslogtreecommitdiffstats
path: root/Source/cmVisualStudio10TargetGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-07-31 18:03:03 (GMT)
committerBrad King <brad.king@kitware.com>2014-07-31 18:08:41 (GMT)
commitc1580a9217ee2447433c76eca2ad0e6be6347a57 (patch)
treee11e3479bd943574ffd74af10aeff16613dd6100 /Source/cmVisualStudio10TargetGenerator.cxx
parent29410df23d4783de9d90a6d8c24cf7c9c5aacc80 (diff)
downloadCMake-c1580a9217ee2447433c76eca2ad0e6be6347a57.zip
CMake-c1580a9217ee2447433c76eca2ad0e6be6347a57.tar.gz
CMake-c1580a9217ee2447433c76eca2ad0e6be6347a57.tar.bz2
VS: Always add IgnoreSpecificDefaultLibraries to .vcxproj files
Append %(IgnoreSpecificDefaultLibraries) to any user-specified libraries so that the system-default list of libraries to ignore is honored even when the user specifies more.
Diffstat (limited to 'Source/cmVisualStudio10TargetGenerator.cxx')
-rw-r--r--Source/cmVisualStudio10TargetGenerator.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx
index 6989d95..18d8951 100644
--- a/Source/cmVisualStudio10TargetGenerator.cxx
+++ b/Source/cmVisualStudio10TargetGenerator.cxx
@@ -1864,6 +1864,8 @@ cmVisualStudio10TargetGenerator::ComputeLinkOptions(std::string const& config)
{
linkOptions.AddFlag("ModuleDefinitionFile", def.c_str());
}
+ linkOptions.AppendFlag("IgnoreSpecificDefaultLibraries",
+ "%(IgnoreSpecificDefaultLibraries)");
}
this->LinkOptions[config] = pOptions.release();