mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-02 04:09:33 -05:00
Make sure LINK_FLAGS are seen by generator, fix for part of bug#9613
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user