BUG: Make sure linking to a shared lib on windows uses import library and not the new realname.
This commit is contained in:
parent
31a6670e43
commit
afad124313
|
@ -2093,13 +2093,17 @@ std::string cmTarget::NormalGetFullPath(const char* config, bool implib,
|
||||||
fpath += "/";
|
fpath += "/";
|
||||||
|
|
||||||
// Add the full name of the target.
|
// Add the full name of the target.
|
||||||
if(realname)
|
if(implib)
|
||||||
|
{
|
||||||
|
fpath += this->GetFullName(config, true);
|
||||||
|
}
|
||||||
|
else if(realname)
|
||||||
{
|
{
|
||||||
fpath += this->NormalGetRealName(config);
|
fpath += this->NormalGetRealName(config);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
fpath += this->GetFullName(config, implib);
|
fpath += this->GetFullName(config, false);
|
||||||
}
|
}
|
||||||
return fpath;
|
return fpath;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue