diff options
-rw-r--r-- | Source/cmVisualStudio10TargetGenerator.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx index c110694..21c0095 100644 --- a/Source/cmVisualStudio10TargetGenerator.cxx +++ b/Source/cmVisualStudio10TargetGenerator.cxx @@ -798,6 +798,12 @@ OutputLinkIncremental(std::string const& configName) std::string flagVar = baseFlagVar + std::string("_") + CONFIG; flags += Target->GetMakefile()->GetRequiredDefinition(flagVar.c_str()); + } + const char* targetLinkFlags = this->Target->GetProperty("LINK_FLAGS"); + if(targetLinkFlags) + { + flags += " "; + flags += targetLinkFlags; } if(flags.find("INCREMENTAL:NO") != flags.npos) { |