mirror of
https://github.com/reactos/CMake.git
synced 2025-02-02 18:12:52 +00:00
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 += "/";
|
||||
|
||||
// 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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user