diff options
author | Brad King <brad.king@kitware.com> | 2014-07-31 18:03:03 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-07-31 18:08:41 (GMT) |
commit | c1580a9217ee2447433c76eca2ad0e6be6347a57 (patch) | |
tree | e11e3479bd943574ffd74af10aeff16613dd6100 /Source/cmVisualStudio10TargetGenerator.cxx | |
parent | 29410df23d4783de9d90a6d8c24cf7c9c5aacc80 (diff) | |
download | CMake-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.cxx | 2 |
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(); |