diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-08-04 17:19:42 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-08-05 16:20:44 (GMT) |
commit | 803a7982b4403c690d7b7fa8c49d00a5abae3471 (patch) | |
tree | 0d72f1295e8fa3809bfec1b6402caecca0916eae /Source/cmMakefileTargetGenerator.cxx | |
parent | c971338416d7376d8b710b5c18957f6a800b3de0 (diff) | |
download | CMake-803a7982b4403c690d7b7fa8c49d00a5abae3471.zip CMake-803a7982b4403c690d7b7fa8c49d00a5abae3471.tar.gz CMake-803a7982b4403c690d7b7fa8c49d00a5abae3471.tar.bz2 |
cmGeneratorTarget: Move GetLinkInformation from cmTarget
Diffstat (limited to 'Source/cmMakefileTargetGenerator.cxx')
-rw-r--r-- | Source/cmMakefileTargetGenerator.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmMakefileTargetGenerator.cxx b/Source/cmMakefileTargetGenerator.cxx index 5edc0f5..ac8cd29 100644 --- a/Source/cmMakefileTargetGenerator.cxx +++ b/Source/cmMakefileTargetGenerator.cxx @@ -1446,7 +1446,8 @@ void cmMakefileTargetGenerator // Loop over all library dependencies. const char* cfg = this->LocalGenerator->GetConfigName().c_str(); - if(cmComputeLinkInformation* cli = this->Target->GetLinkInformation(cfg)) + if(cmComputeLinkInformation* cli = + this->GeneratorTarget->GetLinkInformation(cfg)) { std::vector<std::string> const& libDeps = cli->GetDepends(); depends.insert(depends.end(), libDeps.begin(), libDeps.end()); |