diff options
author | Stephen Kelly <steveire@gmail.com> | 2013-10-28 18:47:46 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-07-27 19:58:50 (GMT) |
commit | 9f2dca805c8010636d4be7ef03d96bfc131c9809 (patch) | |
tree | 0fe3e34e2ef5344d53d3d0d5c41f36bb17942321 /Source/cmLocalGenerator.cxx | |
parent | c7a8e74b8c7ade9efb68b8bd36fd6d741f2dba7e (diff) | |
download | CMake-9f2dca805c8010636d4be7ef03d96bfc131c9809.zip CMake-9f2dca805c8010636d4be7ef03d96bfc131c9809.tar.gz CMake-9f2dca805c8010636d4be7ef03d96bfc131c9809.tar.bz2 |
Move GetLocation to cmGeneratorTarget.
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r-- | Source/cmLocalGenerator.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx index d6c8bae..2e20ee2 100644 --- a/Source/cmLocalGenerator.cxx +++ b/Source/cmLocalGenerator.cxx @@ -1710,7 +1710,7 @@ bool cmLocalGenerator::GetRealDependency(const std::string& inName, if(target->GetType() >= cmTarget::EXECUTABLE && target->GetType() <= cmTarget::MODULE_LIBRARY) { - tLocation = target->Target->GetLocation(config); + tLocation = target->GetLocation(config); tLocation = cmSystemTools::GetFilenamePath(tLocation); tLocation = cmSystemTools::CollapseFullPath(tLocation); } @@ -1733,7 +1733,7 @@ bool cmLocalGenerator::GetRealDependency(const std::string& inName, case cmTarget::SHARED_LIBRARY: case cmTarget::MODULE_LIBRARY: case cmTarget::UNKNOWN_LIBRARY: - dep = target->Target->GetLocation(config); + dep = target->GetLocation(config); return true; case cmTarget::OBJECT_LIBRARY: // An object library has no single file on which to depend. |