diff options
Diffstat (limited to 'Source/cmGetTargetPropertyCommand.cxx')
-rw-r--r-- | Source/cmGetTargetPropertyCommand.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmGetTargetPropertyCommand.cxx b/Source/cmGetTargetPropertyCommand.cxx index 6ff0fcc..9c8ed4f 100644 --- a/Source/cmGetTargetPropertyCommand.cxx +++ b/Source/cmGetTargetPropertyCommand.cxx @@ -64,8 +64,7 @@ bool cmGetTargetPropertyCommand::InitialPass( target_location += "/"; } - cmLocalGenerator* lg = m_Makefile->GetLocalGenerator(); - target_location += lg->GetFullTargetName(targetName, target); + target_location += target.GetFullName(m_Makefile); m_Makefile->AddDefinition(var, target_location.c_str()); return true; } |