cmComputeLinkInformation: Do not mark interface library as a path

The empty string we add as a link item for an INTERFACE_LIBRARY target
is not a path, so do not mark it as such.  The generators currently
tolerate it either way, but only by accident.
This commit is contained in:
Brad King 2016-05-13 13:54:08 -04:00
parent cb704c0871
commit 9cb263d772
1 changed files with 1 additions and 1 deletions

View File

@ -655,7 +655,7 @@ void cmComputeLinkInformation::AddItem(std::string const& item,
// Add the interface library as an item so it can be considered as part
// of COMPATIBLE_INTERFACE_ enforcement. The generators will ignore
// this for the actual link line.
this->Items.push_back(Item(std::string(), true, tgt));
this->Items.push_back(Item(std::string(), false, tgt));
}
else
{