BUG: Make sure linking to a shared lib on windows uses import library and not the new realname.

This commit is contained in:
Brad King 2008-02-06 14:19:03 -05:00
parent 31a6670e43
commit afad124313
1 changed files with 6 additions and 2 deletions

View File

@ -2093,13 +2093,17 @@ std::string cmTarget::NormalGetFullPath(const char* config, bool implib,
fpath += "/";
// Add the full name of the target.
if(realname)
if(implib)
{
fpath += this->GetFullName(config, true);
}
else if(realname)
{
fpath += this->NormalGetRealName(config);
}
else
{
fpath += this->GetFullName(config, implib);
fpath += this->GetFullName(config, false);
}
return fpath;
}