mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-15 11:10:19 -06:00
BUG: Fix previous fix.
This commit is contained in:
@@ -312,7 +312,7 @@ int cmComputeLinkDepends::AddLinkEntry(std::string const& item)
|
||||
LinkEntry& entry = this->EntryList[index];
|
||||
entry.Item = item;
|
||||
entry.Target = this->FindTargetToLink(entry.Item.c_str());
|
||||
entry.IsFlag = !entry.Target && item[0] == '-' && item[1] == 'l';
|
||||
entry.IsFlag = !entry.Target && item[0] == '-' && item[1] != 'l';
|
||||
|
||||
// If the item has dependencies queue it to follow them.
|
||||
if(entry.Target)
|
||||
|
||||
Reference in New Issue
Block a user