BUG: Removing part of earlier fix because it does not work with VS generators. It may be restored later after cmOrderLinkDirs is further fixed.
This commit is contained in:
parent
5462f9a2b9
commit
99ee1883d4
|
@ -1392,11 +1392,10 @@ cmLocalGenerator::ComputeLinkInformation(cmTarget& target,
|
||||||
if(tgt)
|
if(tgt)
|
||||||
{
|
{
|
||||||
// This is a CMake target. Ask the target for its real name.
|
// This is a CMake target. Ask the target for its real name.
|
||||||
std::string realLibrary = tgt->GetFullPath(config);
|
linkLibraries.push_back(tgt->GetFullName(config));
|
||||||
linkLibraries.push_back(realLibrary);
|
|
||||||
if(fullPathLibs)
|
if(fullPathLibs)
|
||||||
{
|
{
|
||||||
fullPathLibs->push_back(realLibrary);
|
fullPathLibs->push_back(tgt->GetFullPath(config));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue