Ninja: Convert link library file names like all other output paths
All paths generated on Ninja-invoked command lines should be passed through ConvertToNinjaPath. Fix ConvertToLinkReference to call this instead of partially duplicating its implementation.
This commit is contained in:
parent
0397c92a15
commit
d4381cb15d
|
@ -123,7 +123,8 @@ cmGlobalNinjaGenerator* cmLocalNinjaGenerator::GetGlobalNinjaGenerator()
|
|||
std::string cmLocalNinjaGenerator::ConvertToLinkReference(
|
||||
std::string const& lib, OutputFormat format)
|
||||
{
|
||||
return this->Convert(lib, HOME_OUTPUT, format);
|
||||
std::string path = this->GetGlobalNinjaGenerator()->ConvertToNinjaPath(lib);
|
||||
return this->ConvertToOutputFormat(path, format);
|
||||
}
|
||||
|
||||
std::string cmLocalNinjaGenerator::ConvertToIncludeReference(
|
||||
|
|
Loading…
Reference in New Issue