|
@@ -1605,7 +1605,7 @@ cmGeneratorTarget::GetFullName(const std::string& config, bool implib) const
|
|
|
{
|
|
|
if(this->Target->IsImported())
|
|
|
{
|
|
|
- return this->Target->GetFullNameImported(config, implib);
|
|
|
+ return this->GetFullNameImported(config, implib);
|
|
|
}
|
|
|
else
|
|
|
{
|
|
@@ -3343,6 +3343,14 @@ std::string cmGeneratorTarget::GetFullNameInternal(const std::string& config,
|
|
|
return prefix+base+suffix;
|
|
|
}
|
|
|
|
|
|
+//----------------------------------------------------------------------------
|
|
|
+std::string cmGeneratorTarget::GetFullNameImported(const std::string& config,
|
|
|
+ bool implib) const
|
|
|
+{
|
|
|
+ return cmSystemTools::GetFilenameName(
|
|
|
+ this->Target->ImportedGetFullPath(config, implib));
|
|
|
+}
|
|
|
+
|
|
|
//----------------------------------------------------------------------------
|
|
|
void cmGeneratorTarget::GetFullNameInternal(const std::string& config,
|
|
|
bool implib,
|